Title :
Behaviourally Adequate Software Testing
Author :
Fraser, Gordon ; Walkinshaw, Neil
Author_Institution :
Comput. Sci., Saarland Univ., Saarbrucken, Germany
Abstract :
Identifying a finite test set that adequately captures the essential behaviour of a program such that all faults are identified is a well-established problem. Traditional adequacy metrics can be impractical, and may be misleading even if they are satisfied. One intuitive notion of adequacy, which has been discussed in theoretical terms over the past three decades, is the idea of behavioural coverage, if it is possible to infer an accurate model of a system from its test executions, then the test set must be adequate. Despite its intuitive basis, it has remained almost entirely in the theoretical domain because inferred models have been expected to be exact (generally an infeasible task), and have not allowed for any pragmatic interim measures of adequacy to guide test set generation. In this work we present a new test generation technique that is founded on behavioural adequacy, which combines a model evaluation framework from the domain of statistical learning theory with search-based white-box test generation strategies. Experiments with our BESTEST prototype indicate that such test sets not only come with a statistically valid measurement of adequacy, but also detect significantly more defects.
Keywords :
program testing; software fault tolerance; software metrics; BESTEST prototype; adequacy metrics; behavioural adequacy; behavioural coverage; finite test set; model evaluation framework; program behaviour; program fault; search-based software engineering; search-based white-box test generation strategy; software testing; statistical learning theory; test execution; test set generation; Accuracy; Context; Generators; Software systems; Software testing; Syntactics; search-based software engineering; search-based testing; test adequacy; test case generation;
Conference_Titel :
Software Testing, Verification and Validation (ICST), 2012 IEEE Fifth International Conference on
Conference_Location :
Montreal, QC
Print_ISBN :
978-1-4577-1906-6
DOI :
10.1109/ICST.2012.110