Using Genetic Algorithm for Whole Test suite Generation of Object Oriented Programs?
Journal: International Journal of Computer Science and Mobile Computing - IJCSMC (Vol.3, No. 4)Publication Date: 2014-04-30
Authors : Mrs.R.Gowri R.DhanBhagya Preety B.Durga Devi G.Aruna;
Page : 184-189
Keywords : genetic algorithm; coverage goal; object oriented testing; chormose; mutation;
Abstract
In Software testing there is a great demand for the automation of test cases. The test cases are either generated before coding using software specifications or after coding using program execution traces. Many genetic algorithms have been proposed for procedural programming but they do not suit well for object oriented programming. This is because in object oriented programs the object relationship exists and considering them is important for the generation of best test suite. We propose a method to generate test suites for object oriented programs using genetic algorithm by considering the object-relationships and their dependencies such as polymorphism, message passing and inheritance that exists among them. The key feature of our proposed technique is that the test suites are evolved as a whole instead of generating one test case for each coverage goal. To investigate the effectiveness of our approach we have used a java program of Chocolate Vending machine as the source code and few test cases have been relatively developed to evaluate the fittest test suite with maximum coverage. We have applied our technique in the EVOSUITE tool to determine the efficiency of our approach. Our results indicate that the use of genetic algorithm in Test case Generation is beneficial than the traditional approach of targeting single branches.
Other Latest Articles
- THE PROBLEM OF FREEDOM OF THE PERSON IN CHRISTIANITY
- MODERN INSTRUMENTATION OF MANAGEMENT DECISION MAKING
- BENCHMARKING AS THE INSTRUMENT OF PROVIDING INTELLECTUAL CAPITAL DEVELOPMENT OF THE TOURIST ENTERPRISES
- INFLUENCE OF STAFF MANAGEMENT CONCEPTS ON LABOUR BEHAVIOUR
- IMPLEMENTATION OF THE KYOTO PROTOCOL WITHIN ACTIVITY OF FORESTRY OF YAKUTIA
Last modified: 2014-04-09 20:12:49