A System to Generate Test Data and Symbolically Execute Programs
- 1 September 1976
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. SE-2 (3), 215-222
- https://doi.org/10.1109/tse.1976.233817
Abstract
This paper describes a system that attempts to generate test data for programs written in ANSI Fortran. Given a path, the system symbolically executes the path and creates a set of constraints on the program's input variables. If the set of constraints is linear, linear programming techniques are employed to obtain a solution. A solution to the set of constraints is test data that will drive execution down the given path. If it can be determined that the set of constraints is inconsistent, then the given path is shown to be nonexecutable. To increase the chance of detecting some of the more common programming errors, artificial constraints are temporarily created that simulate error conditions and then an attempt is made to solve each augmented set of constraints. A symbolic representation of the program's output variables in terms of the program's input variables is also created. The symbolic representation is in a human readable form that facilitates error detection as well as being a possible aid in assertion generation and automatic program documentation.Keywords
This publication has 8 references indexed in Scilit:
- Methodology for the Generation of Program Test DataIEEE Transactions on Computers, 1975
- A view of program verificationACM SIGPLAN Notices, 1975
- Toward a theory of test data selectionPublished by Association for Computing Machinery (ACM) ,1975
- A new approach to program testingPublished by Association for Computing Machinery (ACM) ,1975
- Automated generation of testcase datasetsPublished by Association for Computing Machinery (ACM) ,1975
- SELECT---a formal system for testing and debugging programs by symbolic executionPublished by Association for Computing Machinery (ACM) ,1975
- Hilbert's Tenth Problem is UnsolvableThe American Mathematical Monthly, 1973
- An empirical study of FORTRAN programsSoftware: Practice and Experience, 1971