CFP last date
20 January 2025
Reseach Article

Object Oriented Test Case Generation Technique using Genetic Algorithms

by V. Mary Sumalatha, G. S. V. P. Raju
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 61 - Number 20
Year of Publication: 2013
Authors: V. Mary Sumalatha, G. S. V. P. Raju
10.5120/10196-4915

V. Mary Sumalatha, G. S. V. P. Raju . Object Oriented Test Case Generation Technique using Genetic Algorithms. International Journal of Computer Applications. 61, 20 ( January 2013), 20-26. DOI=10.5120/10196-4915

@article{ 10.5120/10196-4915,
author = { V. Mary Sumalatha, G. S. V. P. Raju },
title = { Object Oriented Test Case Generation Technique using Genetic Algorithms },
journal = { International Journal of Computer Applications },
issue_date = { January 2013 },
volume = { 61 },
number = { 20 },
month = { January },
year = { 2013 },
issn = { 0975-8887 },
pages = { 20-26 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume61/number20/10196-4915/ },
doi = { 10.5120/10196-4915 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2024-02-06T21:09:58.152278+05:30
%A V. Mary Sumalatha
%A G. S. V. P. Raju
%T Object Oriented Test Case Generation Technique using Genetic Algorithms
%J International Journal of Computer Applications
%@ 0975-8887
%V 61
%N 20
%P 20-26
%D 2013
%I Foundation of Computer Science (FCS), NY, USA
Abstract

Computers have become a necessity in our everyday lives, and are used in a variety of systems, ranging from sophisticated ones to home appliances. Software plays an important role in many of these systems. As a result, the usage of software for a variety of purposes in different domains of modern life is rapidly increasing. With the advancements in technology, computers and in particular their software have become quite complex. Due to this reason, the correctness of software cannot be guaranteed, even by the programmer who has designed it. Since dependence on software is continuously increasing, one do not expect it to fail. However, software often contains errors. The severity of software errors can range from minor irritations to major economical losses or catastrophic situations. Software testing is one of the main activities to be carried out in the software development life cycle. It consumes more money and time, which leads to automation that reduces the human effort in finding bugs and errors. Automation in the last phase of system development is similar to manual testing. In both cases bugs are detected only after code has been complete. So rectifications and modification of the code takes lot of time. So testing process should be started from the beginning phase of software development life cycle and should continue till the last phase. For this it is proposed to generate test cases for object oriented software using UML diagrams like Sequence diagram. Test cases are optimized using the evolutionary algorithm, Genetic Algorithm.

References
  1. A. Bouchachia, "An Immune Genetic Algorithm for Software Test Data Generation", Seventh International Conference on Hybrid Intelligent Systems, 0-7695-2946-1/7 © 2007 IEEE. pp. 84-89.
  2. X. Shen, Q. Wang, P. Wang, Bo Zhou, "Automatic Generation of Test Case based on GATS Algorithm", 2007AA04Z148, supported by Nation 863 Project.
  3. P. R. Srivastava, T. Kim, "Application of Genetic Algorithm in Software Testing", International Journal of Software Engineering and Its Applications, Vol. 3, No. 4, October 2009, pp. 87-96.
  4. A. Rauf, S. Anwar, "Automated GUI Test Coverage Analysis using GA", 2010 Seventh International Conference on Information Technology, 978-0-7695-3984-3/10 © 2010 IEEE, pp. 1057-1062
  5. M. Harman, "Automated Test Data Generation using Search Based Software Engineering", Second International Workshop on Automation of Software Test (AST'07) 0-7695-2971-2/07 $20. 00 © 2007IEEE.
  6. M. A. Ahmed, I. Hermadi, "GAbased multiple paths test data generator", Computers and Operations Research (2007).
  7. Ashalatha Nayak, Debasis Samanta: "Automatic Test Data Synthesis using UML Sequence Diagrams", in Journal of Object Technology, vol. 09, no. 2, March{April 2010, pp. 75{104,
  8. Li Bao-Lin, Li Zhi-shu, Li Qing, Chen Yan Hong ," Test Case automate Generation from UML Sequence diagram and OCL Expression", International Conference on Computational Intelligence and Security 2007, pp 1048-52.
  9. Monalisa Sarma Debasish Kundu Rajib Mall, "Automatic Test Case Generation from UML Sequence Diagrams",15th International Conference on Advanced Computing and Communications 2007, pp 60-65.
  10. A. Abdurazik, and J. Offutt, Using UML Collaboration diagrams for static checking and test generation, in: Proceedings of the Third International Conference on the UML, Lecture Notes in Computer Science, Springer-Verlag GmbH, York, UK, vol. 939, 2000, pp. 383–395.
  11. M. Lettrari M. and J. Klose, Scenario-Based Monitoring and Testing of Real Time UML Models, in the Proceedings of UML 2001, Springer Verlag, pp. 312-328.
  12. F. Basanieri, A. Bertolino, and E. Marchetti, The cow suit approach to planning and deriving test suites in UML projects, in Proceedings of the 5th International Conference on the UML, LNCS, 2460, 2002, pp. 383–397.
  13. P. Tonella, and Potrich, A. Reverse Engineering of the Interaction Diagrams from C++ Code, in the Proceedings of IEEE International Conference on Software Maintenance (2003) 159–168.
  14. A. Bertolino, and F. Basanieri, A practical approach to UML-based derivation of integration tests, in Proceedings of the Fourth International Software Quality Week Europe, Brussels, Belgium, 2000.
  15. F. Fraikin, and T. Leonhardt, SEDITEC-testing based on sequence diagrams, in Proceedings 17th IEEE International Conference on ASE, 2002, pp. 261–266.
  16. T. J. Ostrand, and M. J. Balcer, The category-partition method for specifying and generating functional tests, Communications of the ACM 31 (6) (1998).
  17. www. sequencediagrameditor. com/uml/sequence-diagram. htm
Index Terms

Computer Science
Information Sciences

Keywords

UML Sequence diagrams Genetic Algorithms Evolutionary Algorithm Software Testing and Test case Generation