Title :
Automatic test generation for predicates
Author :
Paradkar, Amit ; Tai, K.-C. ; Vouk, M.A.
Author_Institution :
Dept. of Comput. Sci., North Carolina State Univ., Raleigh, NC, USA
fDate :
30 Oct-2 Nov 1996
Abstract :
We propose a new technique for automatic generation of test cases for predicates. Earlier we proposed an efficient and effective test generation strategy for Boolean expressions. We now extend this strategy to predicates. Our new strategy addresses a number of issues, including: analysis of dependencies between relational expressions in a predicate P; generation of test constraints for P based on the detection of Boolean and relational operator faults in P; and generation of actual tests according to the generated test constraints for P. We propose the use of constraint logic programming (CLP) to automate test data generation for a predicate. Furthermore, we propose an incremental approach to apply CLP techniques to solve a constraint system. Since our technique is specification-based, it can facilitate generation of expected outputs for actual tests
Keywords :
Boolean functions; automatic testing; constraint handling; formal logic; formal specification; program testing; software reliability; Boolean expressions; Boolean faults; automatic test generation; constraint logic programming; predicates; program testing; relational expressions; relational operator faults; software reliability; specification-based method; test constraint generation; Automatic control; Automatic testing; Computer science; Costs; Electronic mail; Fault detection; Input variables; Logic programming; Logic testing; Software testing;
Conference_Titel :
Software Reliability Engineering, 1996. Proceedings., Seventh International Symposium on
Conference_Location :
White Plains, NY
Print_ISBN :
0-8186-7707-4
DOI :
10.1109/ISSRE.1996.558700