Title :
Optimizing for the Number of Tests Generated in Search Based Test Data Generation with an Application to the Oracle Cost Problem
Author :
Harman, Mark ; Kim, Sung Gon ; Lakhotia, Kiran ; McMinn, Phil ; Yoo, Shin
Author_Institution :
CREST Centre, King´´s Coll. London, London, UK
Abstract :
Previous approaches to search based test data generation tend to focus on coverage, rather than oracle cost. While there may be an aspiration that systems should have models, checkable specifications and/or contract driven development, this sadly remains an aspiration; in many real cases, system behaviour must be checked by a human. This painstaking checking process forms a significant cost, the oracle cost, which previous work on automated test data generation tends to overlook. One simple way to reduce oracle cost consists of reducing the number of tests generated. In this paper we introduce three algorithms which do this without compromising coverage achieved. We present the results of an empirical study of the effectiveness of the three algorithms on five benchmark programs containing non trivial search spaces for branch coverage. The results indicate that it is, indeed, possible to make reductions in the number of test cases produced by search based testing, without loss of coverage.
Keywords :
formal specification; program testing; branch coverage; checkable specifications; contract driven development; nontrivial search spaces; oracle cost problem; search based test data generation; Application software; Automatic testing; Benchmark testing; Cost function; Educational institutions; Humans; Object oriented modeling; Software algorithms; Software testing; System testing; oracle cost; search based testing; test suite minimization;
Conference_Titel :
Software Testing, Verification, and Validation Workshops (ICSTW), 2010 Third International Conference on
Conference_Location :
Paris
Print_ISBN :
978-1-4244-6773-0
DOI :
10.1109/ICSTW.2010.31