A novel test case generation method for prolog programs based on call patterns semantics

3Citations
Citations of this article
1Readers
Mendeley users who have this article in their library.
Get full text

Abstract

A natural way to generate test cases for a Prolog program is to view the call patterns of the procedures in the program as an implicit representation of the control flow graph (CFG) of the program. This paper explores the idea by proposing a call patterns-based test case generation method, where a set of call patterns or computed answers is used to describe the paths in a CFG. With a constraint-based call patterns semantics, this method is formalized. Through the use of a proper constraints solver, we can generate test cases automatically from the sets of constraints. This method can be based on any approximation of the call patterns semantics. So compared with traditional CFG-based test case generation, the method is more flexible and can be easily adapted to meet the requirements of a tester expressed by the approximation of the call patterns semantics we use. © Springer-Verlag Berlin Heidelberg 2007.

Cite

CITATION STYLE

APA

Lingzhong, Z., Tianlong, G., Junyan, Q., & Guoyong, C. (2007). A novel test case generation method for prolog programs based on call patterns semantics. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 4807 LNCS, pp. 105–121). https://doi.org/10.1007/978-3-540-76637-7_8

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free