Title :
Exploiting symmetries to test programs
Author_Institution :
IRISA/INRIA, Campus Beaulieu, Rennes, France
Abstract :
Symmetries often appear as properties of many artifical settings. In program testing, they can be viewed as properties of programs and can be given by the tester to check the correctness of the computed outcome. In this paper, we consider symmetries to be permutation relations between program executions and use them to automate the testing process. We introduce a software testing paradigm called symmetric testing, where automatic test data generation is coupled with symmetries checking to uncover faults inside the programs. A practical procedure for checking that a program satisfies a given symmetry relation is described. The paradigm makes use of group theoretic results as a formal basis to minimize the number of outcome comparisons required by the method. This approach appears to be of particular interest for programs for which neither an oracle, nor any formal specification is available. We implemented symmetric testing by using the primitive operations of the Java unit testing tool Roast by N. Daley, D. Hoffman, and P. Strooper (2002). The experimental results we got on faulty versions of classical programs of the software testing community tend to show the effectiveness of the approach.
Keywords :
Java; formal specification; group theory; program testing; program verification; software fault tolerance; software tools; Java unit testing tool; Roast; automatic test data generation; correctness checking; formal specification; group theory; permutation relations; program executions; program fault checking; program properties; program testing; software testing; symmetric testing; symmetry relation; Automatic testing; Data engineering; Flow graphs; Formal specifications; Java; Licenses; Reliability engineering; Size measurement; Software reliability; Software testing;
Conference_Titel :
Software Reliability Engineering, 2003. ISSRE 2003. 14th International Symposium on
Print_ISBN :
0-7695-2007-3
DOI :
10.1109/ISSRE.2003.1251058