Title :
A new software testing approach based on domain analysis of specifications and programs
Author :
Zhao, Ruilian ; Lyu, Michael R. ; Min, Yinghua
Author_Institution :
Dept. of Comput. Sci., Beijing Univ. of Chem. Technol., China
Abstract :
Partition testing is a well-known software testing technique. This paper shows that partition testing strategies are relatively ineffective in detecting faults related to small shifts in input domain boundary. We present an innovative software testing approach based on input domain analysis of specifications and programs, and propose the principle and procedure of boundary test case selection in functional domain and operational domain. The differences of the two domains are examined by analyzing the set of their boundary test cases. To automatically determine the operational domain of a program, the ADSOD system is prototyped. The system supports not only the determination of input domain of integer and real data types, but also non-numeric data types such as characters and enumerated types. It consists of several modules in finding illegal values of input variables with respect to specific expressions. We apply the new testing approach to some example studies. A preliminary evaluation on fault detection effectiveness and code coverage illustrates that the approach is highly effective in detecting faults due to small shifts in the input domain boundary, and is more economical in test case generation than the partition testing strategies.
Keywords :
formal specification; program diagnostics; program testing; software fault tolerance; ADSOD system; boundary test case selection; code coverage; fault detection; functional domain; input domain analysis; nonnumeric data types; operational domain; partition testing; software program; software specification; software testing; test case generation; Chemical technology; Computer science; Costs; Fault detection; Input variables; Prototypes; Software quality; Software systems; Software testing; System testing;
Conference_Titel :
Software Reliability Engineering, 2003. ISSRE 2003. 14th International Symposium on
Print_ISBN :
0-7695-2007-3
DOI :
10.1109/ISSRE.2003.1251031