DocumentCode :
3459508
Title :
On the effectiveness of mutation analysis as a black box testing technique
Author :
Murnane, Tafline ; Reed, Karl
Author_Institution :
TATE Assoc., Carlton, Vic., Australia
fYear :
2001
fDate :
2001
Firstpage :
12
Lastpage :
20
Abstract :
The technique of mutation testing, in which the effectiveness of tests is determined by creating variants of a program in which statements are mutated, is well known.. Whilst of considerable theoretical interest, the technique requires costly tools and is computationally expensive. Very large numbers of `mutants´ can be generated for even simple programs. More recently, it has been proposed that the concept be applied to specification based (black box) testing. The proposal is to generate test cases by systematically replacing data items relevant to a particular part of a specification with a data item relevant to another. If the specification is considered as generating a language that describes the set of valid inputs, then the mutation process is intended to generate syntactically valid and invalid statements. Irrespective of their ´correctness´ in terms of the specification, these can then be used to test a program in the usual (black box) manner. For this approach to have practical value it must produce test cases that would not be generated by other popular black box test generation approaches. The paper reports a case study involving the application of mutation based black box testing to two programs of different types. Test cases were also generated using equivalence class testing. and boundary value testing approaches. The test cases from each method were examined to judge the overlap and to assess the value of the additional cases generated. It was found that less than 20% of the mutation test cases for a data-vetting program were generated by the other two methods, as against 75% for a statistical analysis program. The paper analyses these results and suggests classes of specifications for which mutation based test-case generation may be effective
Keywords :
equivalence classes; formal specification; program testing; black box test generation approaches; black box testing technique; boundary value testing; case study; data item replacement; data-vetting program; equivalence class testing; invalid statements; mutation analysis; mutation process; mutation testing; specification based testing; statistical analysis program; syntactically valid statements; test case generation; valid inputs; Australia; Computer errors; Computer science; Genetic mutations; Programming; Proposals; Software quality; Software testing; Statistical analysis; System testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering Conference, 2001. Proceedings. 2001 Australian
Conference_Location :
Canberra, ACT
ISSN :
1530-0803
Print_ISBN :
0-7695-1254-2
Type :
conf
DOI :
10.1109/ASWEC.2001.948492
Filename :
948492
Link To Document :
بازگشت