Automatic Software Test Data Generation for Spanning Sets Coverage Using Genetic Algorithms

Authors

  • Abdelaziz M. Khamis
  • Moheb R. Girgis
  • Ahmed S. Ghiduk

Keywords:

Genetic algorithms, automatic test-data generation, subsumption, spanning sets

Abstract

Software testing takes a considerable amount of time and resources spent on producing software. Therefore, it would be useful to have ways to reduce the cost of software testing. The new concepts of spanning sets of entities suggested by Marré and Bertolino are useful for reducing the cost of testing. In fact, to reduce the testing effort, the generation of test data can be targeted to cover the entities in the spanning set, rather than all the entities in the tested program. Marré and Bertolino presented an algorithm based on the subsumption relation between entities to find spanning sets for a family of control flow and data flow-based test coverage criteria. This paper presents a new general technique for the automatic test data generation for spanning sets coverage. The proposed technique applies to the algorithm proposed recently by Marré and Bertolino to automatically generate the spanning sets of program entities that satisfy a wide range of control flow and data flow-based test coverage criteria. Then, it uses a genetic algorithm to automatically generate sets of test data to cover these spanning sets. The proposed technique employed the concepts of spanning sets to limit the number of test cases, guide the test case selection, overcome the problem of the redundant test cases and automate the test path generation.

Downloads

Download data is not yet available.

Downloads

Published

2012-01-27

How to Cite

Khamis, A. M., Girgis, M. R., & Ghiduk, A. S. (2012). Automatic Software Test Data Generation for Spanning Sets Coverage Using Genetic Algorithms. COMPUTING AND INFORMATICS, 26(4), 383–401. Retrieved from https://www.cai.sk/ojs/index.php/cai/article/view/316