Open Access Open Access  Restricted Access Subscription or Fee Access

Implementation of Object Oriented Programming Technique to Generate Optimal Test Cases

Tarun Dhar Diwan, Rinky Sahu


Test Cases are generated with help of Object, Sequence, Activity, Collaboration, State-Chart diagrams. Numerous applications developed with help activity diagram to generate test cases. Lacking in generalization and automation. These are two basic pit falls of present procedure to software testing. Basically testing done manually even for test cases generation. When it is being automated it fails to be generalized only for that particular or some application it fits. Validation of obtained test cases is manual. In case automated system obtained test cases should be validated manually to use such test cases to analysis the software. Test Cases are generated based on code by which the application being developed. Existing system based on code analysis certainly depend on language used and application. Generalization is quite difficult. Since test case generation from design specifications has the added advantage of allowing test cases to be available early in the software development cycle, UML Class diagram is used. Implementation of object oriented programming technique to generate optimal test cases. Validation of test cases is automated. Evolutionary Genetic algorithm is used generate valid and optimal patterns necessary. Test cases can be easily generated in case of regression testing. Even in case of reengineering of software, updates once reflected in design specification automatically new set test cases can be generated. Reduce complexity to analysis the code.


UML Class, Object-Oriented Programming, Testing, Verification Method.

Full Text:



Baikuntha Narayan Biswal “Test Case Generation and Optimization of Object-Oriented Software using UML Behavioral Models”Department of Computer Science and Engineering National Institute of Technology, Rourkela Rourkela-769 008, Orissa, India July, 2010.

A.V.K.Shanthi “Automated Test Cases Generation For Object Oriented Software” A.V.K.Shanthi et al./ Indian Journal of Computer Science and Engineering (IJCSE), Research Scholar, Sathyabama University, Chennai-119, Tamil Nadu, India,

Lu Luo “Software Testing Techniques Technology Maturation and Research Strategies” School of Computer Science Carnegie Mellon University.

Jitendra S. Kushwah Mahendra S. Yadav “Testing For Object Oriented Software”Assistant Professor Department of Computer Application IASCA, ITM Universe, Gwalior (M.P) IASCA, ITM Universe, Gwalior (M.P).

Gregg Rothermel, Mary Jean Harrold “Regression Test Selection for C++ Software” Journal of Software Testing, Veri_cation, and Reliability, vol. 10, no. 2, June 2000.

S. R. Dalal, A. Jain, N. Karunanithi, J. M. Leaton, C. M. Lott, G. C. Patton “Model-Based Testing in Practice”, To appear in Proceedings of ICSE’99, May 1999 (ACM Press).

Muhammad Shafique, Yvan Labiche “A Systematic Review of Model Based Testing Tool Support” Software Quality Engineering Laboratory, Department of Systems and Computer Engineering, Carleton University, Technical Report SCE-10-04.

Gregg Rothermel Mary Jean Harrold Jeinay Dedhia “Regression Test Selection for C++ Software”, Technical Report 99-60-01, Computer Science Department, Oregon State University, January 1999.

Walid S. Abd El-hamid, Sherif S. El-etriby, and Mohiy M. Hadhoud “A General Regression Test Selection Technique” World Academy of Science, Engineering and Technology 62 2010.

Aditya V. Nori, Ashok Sreenivas “A technique for modelbased testing of a class” Tata Research Development and Design Centre Pune, India

S. Yoo, M. Harman “Regression Testing Minimisation, Selection and Prioritisation : A Survey” SOFTWARE TESTING, Verification And Reliability Softw. Test. Verif. Reliab. 2007; 00:1–7 (DOI: 10.1002/000)

Swarnendu Biswas and Rajib Mall “Regression Test Selection Techniques: A Survey”, Dept. of Computer Science and Engineering IIT Kharagpur, India – 721302, Informatica 35 (2011) 289–321


  • There are currently no refbacks.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.