Title :
Using Formal Verification to Reduce Test Space of Fault-Tolerant Programs
Author :
Xavier, Kleber S. ; Hanazumi, Simone ; De Melo, Ana C V
Author_Institution :
Dept. of Comput. Sci., Univ. of Sao Paulo, Sao Paulo
Abstract :
Testing object-oriented programs is still a hard task, despite many studies on criteria to better cover the test space. Test criteria establish requirements one want to achieve in testing programs to help in finding software defects. On the other hand, program verification guarantees that a program preserves its specification but its application is not very straightforward in many cases. Both program testing and verification are expensive tasks and could be used to complement each other.This paper presents a new approach to automate and integrate testing and program verification for fault-tolerant systems. In this approach we show how to assess information from programs verification in order to reduce the test space regarding exceptions definition/use testing criteria. As properties on exception-handling mechanisms are checked using a model checker(Java PathFinder), programs are traced. Information from these traces can be used to realize how much testing criteria have been covered, reducing the further program test space.
Keywords :
Java; exception handling; fault tolerant computing; formal specification; object-oriented programming; program diagnostics; program testing; program verification; Java; exception-handling; fault-tolerant computing; formal specification; formal verification; model checker; object-oriented program testing; program tracing; program verification; software defect; test space reduction; Automatic testing; Computer science; Fault tolerance; Fault tolerant systems; Formal verification; Java; Mechanical factors; Programming; Software testing; System testing;
Conference_Titel :
Software Engineering and Formal Methods, 2008. SEFM '08. Sixth IEEE International Conference on
Conference_Location :
Cape Town
Print_ISBN :
978-0-7695-3437-4
DOI :
10.1109/SEFM.2008.31