|
ABSTRACT
Test data generation in program testing is the process of identifying a set of test data that satisfies a selected testing criterion, such as, statement coverage or branch coverage. The existing methods of test data generation are limited to unit testing and may not efficiently generate test data for programs with procedures. In this paper we present an approach for automated test data generation for programs with procedures. This approach builds on the current theory of execution-oriented test data generation. In this approach, test data are derived based on the actual execution of the program under test. For many programs, the execution of the selected statement may require prior execution of some other statements that may be part of some procedures. The existing methods use only control flow information of a program during the search process and may not efficiently generate test data for these types of programs because they are not able to identify statements that affect execution of the selected statement. Our approach uses data dependence analysis to guide the process of test data generation. Data dependence analysis automatically identifies statements (or procedures) that affect the execution of the selected statement and this information is used to guide the search process. The initial experiments have shown that this approach may improve the chances of finding test data.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
Bir82
|
|
 |
Boy75
|
|
| |
Cla76
|
L. Clarke, "A system to generate test data and symbolically execute programs," IEEE Transactions on Software Engineering, vol. 2, No. 3, 1976, pp. 215-222.
|
| |
DeM87
|
|
| |
DeM91
|
|
| |
Gil74
|
P. Gill, W. Murray, Ed., Numerical Methods for Constrained Optimization, New York: Academic, 1974.
|
 |
Har89
|
M. Harrold , M. Soffa, Interprocedual data flow testing, Proceedings of the ACM SIGSOFT '89 third symposium on Software testing, analysis, and verification, p.158-167, December 13-15, 1989, Key West, Florida, United States
|
| |
Fer94
|
R. Ferguson, B. Korel, "The chaining approach for software test data generation," Technical Report, Computer Science Department, Wayne State University, CSC-94-003, 1994.
|
| |
How77
|
W. E. Howden, "Symbolic testing and the DISSECT symbolic evaluation system," IEEE Transactions on Software Engineering, vol. 4, No. 4, 1977, pp. 266-278.
|
| |
Kor89
|
B. Korel, "TESTGEN- A strucUwal test data generation system," 6-th International Conference on Software Testing, Washington, D.C., 1989.
|
| |
Kor90a
|
|
| |
Kor90b
|
B. Korel, "A dynamic approach of automated test data generation," Conference on Software Maintenance, San Diego, CA, 1990, pp. 311- 317.
|
| |
Kor92
|
B. Korel, "Dynamic method for software test data generation," Journal of Software Testing, Verification, and Reliability, vol. 2, 1992, pp. 203-213.
|
| |
Kor95
|
B. Korel, "TESTGEN - An execution-oriented test data generation system," Technical Report TR-SE-95-01, Department of Computer Science, Illinois Institute of Technology, 1995.
|
| |
Las83
|
J. Laski, B. Korel, "Data flow oriented program testing strategy," iEEE Transactions on Software Engineering, vol. 9, No. 3, 1983, pp. 347-354.
|
| |
Muc81
|
|
| |
Ram76
|
C. Ramamoorthy, S. Ho, W. Chert, "On the automated generation of program test data," IEEE Transactions on Software Engineering, vol. 2, No. 4, 1976, pp. 293-300.
|
| |
Rap85
|
|
CITED BY 22
|
|
|
|
|
|
|
|
|
|
|
Francisca Emanuelle Vieira , Francisco Martins , Rafael Silva , Ronaldo Menezes , Márcio Braga, Using genetic algorithms to generate test plans for functionality testing, Proceedings of the 44th annual southeast regional conference, March 10-12, 2006, Melbourne, Florida
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Nigel Tracey , John Clark , John McDermid , Keith Mander, A search-based automated test-data generation framework for safety-critical systems, Systems engineering for business process change: new directions, Springer-Verlag New York, Inc., New York, NY, 2002
|
|
|
Cyrille Artho , Howard Barringer , Allen Goldberg , Klaus Havelund , Sarfraz Khurshid , Mike Lowry , Corina Pasareanu , Grigore Rosu , Koushik Sen , Willem Visser , Rich Washington, Combining test case generation and runtime verification, Theoretical Computer Science, v.336 n.2-3, p.209-234, 26 May 2005
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sasa Misailovic , Aleksandar Milicevic , Nemanja Petrovic , Sarfraz Khurshid , Darko Marinov, Parallel test generation and execution with Korat, Proceedings of the the 6th joint meeting of the European software engineering conference and the ACM SIGSOFT symposium on The foundations of software engineering, September 03-07, 2007, Dubrovnik, Croatia
|
|
|
|
|
|
|
|
|
|
|
|
|
|