Detecting Double Faults on Term and Literal in Boolean Expressions

Fault-based testing aims at selecting test cases to guarantee the detection of certain prescribed faults in programs. The detection conditions of single faults have been studied and used in areas like developing test case selection strategies, establishing relationships between faults and investigating the fault coupling effect. It is common, however, for programmers to commit more than one fault. Our previous studies on the detection conditions of faults in Boolean expressions show that (1) some test case selection strategies developed for the detection of single faults can also detect all double faults related to terms, but (2) these strategies cannot guarantee to detect all double faults related to literals. This paper supplements our previous studies and completes our series of analysis of the detection condition of all double fault classes in Boolean expressions. Here we consider the fault detection conditions of combinations of two single faults, in which one is related to term and the other is related to literal. We find that all such faulty expressions, except two, can be detected by some test case selection strategies for single fault detection. Moreover, the two exception faulty expressions can be detected by existing strategies when used together with a supplementary strategy which we earlier developed to detect double literal faults.

[1]  Tsong Yueh Chen,et al.  Automatic generation of test cases from Boolean specifications using the MUMCUT strategy , 2006, J. Syst. Softw..

[2]  Ying Liu,et al.  On Detection Conditions of Double FaultsRelated to Terms in Boolean Expressions , 2006, 30th Annual International Computer Software and Applications Conference (COMPSAC'06).

[3]  Tatsuhiro Tsuchiya,et al.  On fault classes and error detection capability of specification-based testing , 2002, TSEM.

[4]  Elaine J. Weyuker,et al.  Automatically Generating Test Data from a Boolean Specification , 1994, IEEE Trans. Software Eng..

[5]  Ying Liu,et al.  On Detecting Double Literal Faults in Boolean Expressions , 2007, Ada-Europe.

[6]  Kuo-Chung Tai,et al.  Theory of Fault-Based Predicate Testing for Computer Programs , 1996, IEEE Trans. Software Eng..

[7]  Man F. Lau,et al.  An extended fault class hierarchy for specification-based testing , 2005, TSEM.

[8]  K. S. How Tai Wah,et al.  A theoretical study of fault coupling , 2000, Softw. Test. Verification Reliab..

[9]  Shaoying Liu,et al.  Generating test data from state‐based specifications , 2003, Softw. Test. Verification Reliab..

[10]  Joanne M. Atlee,et al.  State-Based Model Checking of Event-Driven System Requirements , 1993, IEEE Trans. Software Eng..

[11]  A. Jefferson Offutt,et al.  Investigations of the software testing coupling effect , 1992, TSEM.

[12]  Tsong Yueh Chen,et al.  Test case selection strategies based on Boolean specifications ‡ , 2001, Softw. Test. Verification Reliab..

[13]  D. Richard Kuhn Fault classes and error detection capability of specification-based testing , 1999, TSEM.