Module test case generation

  • Authors:
  • D. Hoffman;C. Brealey

  • Affiliations:
  • University of Victoria, Department of Computer Science, P.O. Box 1700, Victoria, B.C., Canada;University of Victoria, Department of Computer Science, P.O. Box 1700, Victoria, B.C., Canada

  • Venue:
  • TAV3 Proceedings of the ACM SIGSOFT '89 third symposium on Software testing, analysis, and verification
  • Year:
  • 1989

Quantified Score

Hi-index 0.00

Visualization

Abstract

While considerable attention has been given to techniques for developing complex systems as collections of reliable and reusable modules, little is known about testing these modules. In the literature, the special problems of module testing have been largely ignored and few tools or techniques are available to the practicing tester. Without effective testing methods, the development and maintenance of reliable and reusable modules is difficult indeed.We describe an approach for systematic module regression testing. Test cases are defined formally using a language based on module traces, and a software tool is used to automatically generate test programs that apply the cases. Techniques for test case generation in C and in Prolog are presented and illustrated in detail.