Handling Constraints for Search Based Software Test Data Generation
Authors:
- Ramon SagarnaRSRamon Sagarna
- Xin YaoXYXin Yao
- 1 January 2008
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- Vol. 43, 232-240
Abstract
A major issue in software testing is the automatic generation of the inputs to be applied to the programme under test. To solve this problem, a number of approaches based on search methods have been developed in the last few years, offering promising results for adequacy criteria like, for instance, branch coverage. We devise branch coverage as the satisfaction of a number of constraints. This allows to formulate the test data generation as a constrained optimisation problem or as a constraint satisfaction problem. Then, we can see that many of the generators so far have followed the same particular approach. Furthermore, this constraint-handling point of view overcomes this limitation and opens the door to new designs and search strategies that, to the best of our knowledge, have not been considered yet. As a case study, we develop test data generators employing different penalty objective functions or multiobjective optimisation. The results of the conducted preliminary experiments suggest these generators can improve the performance of classical approaches.Keywords
This publication has 16 references indexed in Scilit:
- Empirical evaluation of a nesting testability transformation for evolutionary testingACM Transactions on Software Engineering and Methodology, 2009
- DYNAMIC SEARCH SPACE TRANSFORMATIONS FOR SOFTWARE TEST DATA GENERATIONComputational Intelligence, 2008
- Search Biases in Constrained Evolutionary OptimizationIEEE Transactions on Systems, Man and Cybernetics, Part C (Applications and Reviews), 2005
- ON THE PERFORMANCE OF ESTIMATION OF DISTRIBUTION ALGORITHMS APPLIED TO SOFTWARE TESTINGApplied Artificial Intelligence, 2005
- Search‐based software test data generation: a surveySoftware Testing, Verification and Reliability, 2004
- An automated framework for structural test-data generation2002
- Evolutionary test environment for automatic structural testingInformation and Software Technology, 2001
- Test-data generation using genetic algorithmsSoftware Testing, Verification and Reliability, 1999
- The dynamic domain reduction procedure for test data generationSoftware: Practice and Experience, 1999
- Automatic Generation of Floating-Point Test DataIEEE Transactions on Software Engineering, 1976