DocumentCode
3084825
Title
Genes and bacteria for automatic test cases optimization in the .NET environment
Author
Baudry, Benoit ; Fleurey, Franck ; Jézéquel, Jean-Marc ; Traon, Yves Le
Author_Institution
IRISA, Rennes, France
fYear
2002
fDate
2002
Firstpage
195
Lastpage
206
Abstract
The level of confidence in a software component is often linked to the quality of its test cases. This quality can in turn be evaluated with mutation analysis: faulty components (mutants) are systematically generated to check the proportion of mutants detected ("killed") by the test cases. But while the generation of basic test cases set is easy, improving its quality may require prohibitive effort. We focus on the issue of automating the test optimization. We looked at genetic algorithms to solve this problem and modeled it as follows: a test case can be considered as a predator while a mutant program is analogous to a prey. The aim of the selection process is to generate test cases able to kill as many mutants as possible. To overcome disappointing experimentation results on the studied .NET system, we propose a slight variation on this idea, no longer at the "animal" level (lions killing zebras) but at the bacteriological level. The bacteriological level indeed better reflects the test case optimization issue: it introduces a memorization function and suppresses the crossover operator. We describe this model and show how it behaves on the case study.
Keywords
genetic algorithms; object-oriented languages; object-oriented programming; predator-prey systems; program testing; software quality; NET environment; automatic test case optimization; bacteria; crossover operator; genes; genetic algorithms; memorization function; mutant program; mutation analysis; object oriented programming; predator prey systems; software component; software quality; Animals; Automatic testing; Computer aided software engineering; Fault detection; Genetic algorithms; Genetic mutations; Microorganisms; Software quality; Software testing; System testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Reliability Engineering, 2002. ISSRE 2003. Proceedings. 13th International Symposium on
ISSN
1071-9458
Print_ISBN
0-7695-1763-3
Type
conf
DOI
10.1109/ISSRE.2002.1173246
Filename
1173246
Link To Document