Exploiting Symmetries to Test Programs - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Reports (Research Report) Year : 2003

Exploiting Symmetries to Test Programs

Arnaud Gotlieb
  • Function : Author
  • PersonId : 830099

Abstract

Symmetries often appear as properties of many artifical settings. In Program Testing, they can be viewed as properties of programs and can be used to check the correctness of the computed outcomes. 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 program executions 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 Roast : a Java unit testing tool developped by N. Daley, D. Hoffman and P. Strooper. The experimental results we got on faulty versions of classical programs of the Software Testing community show the effectiveness of the approach.

Domains

Other [cs.OH]
Fichier principal
Vignette du fichier
RR-4810.pdf (345.14 Ko) Télécharger le fichier

Dates and versions

inria-00071776 , version 1 (23-05-2006)

Identifiers

  • HAL Id : inria-00071776 , version 1

Cite

Arnaud Gotlieb. Exploiting Symmetries to Test Programs. [Research Report] RR-4810, INRIA. 2003. ⟨inria-00071776⟩
55 View
245 Download

Share

Gmail Facebook X LinkedIn More