Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article

Automatic generation of random self-checking test cases

Published: 01 September 1983 Publication History

Abstract

A technique of automatically generating random software test cases is described. The nature of such test cases ensures that they will execute to completion, and their execution is predicted at the time of generation. Wherever possible the test cases are self-checking. At run-time their execution is compared witht he predicted execution. Also described are implementations of the technique that have been used to test various IBM programs-- PL/I language processors, sort/merge programs, and Graphical Data Display Manager alphanumeric and graphics support.

References

[1]
K. V. Hanford, "Automatic generation of test cases," IBM System Journal 9, No. 4, 242-257 (1970).
[2]
P. Purdom, "A sentence generator for testing parsers," BIT 12, 366-375 (1972).
[3]
A. Celentano, "Compiler testing using a sentence generator," Software Practice and Experience 10, 897-913 (1980).
[4]
F. Bazzichi and I. Spadafora, "An automatic generator for compiler testing," IEEE Transactions Software Engineering FE-8, No. 4, 343-353 (July 1982).
[5]
R. P. Seaman, "Testing high level language compilers," IEEE Computer System and Technology Conference (October 1974). pp. 6-14.
[6]
D. L. Bird, T. Clowes, and R. E. Weir, "Method of Operating a Computer to Produce Test Case Programs," U.K. Patent Number: 1,479,122 (July 6, 1977), p. 2.
[7]
D. L. Bird, "Internal representation of arrays in automatically generated test case programs," IBM Technical Disclosure Bulletin 19, No. 3, 1112-1113 (August 1976).
[8]
D. L. Bird, T. Clowes, D. G. Jacobs, and R. E. Weir, A Test Program Generator for Testing Compilers of PL/I-Like Languages, IBM United Kingdom Laboratories Limited, Winchester, Hampshire, United Kingdom (February 1977).
[9]
D. L. Bird, "Method of Operating a Computer to Produce Test Case Programs," U. K. Patent Number: 1,510,240 (May 17, 1978).
[10]
D. L. Bird, "Generating Graphics Test Case Programs," European Patent Application 52684. (Application also made for USA patent.)
[11]
D. L. Bird, "Test case generation for multiple device support," IBM Technical Disclosure Bulletin 25, No. 7B, 3765-3767 (December 1982).
[12]
C. U. Munoz, Test Case Generator Tutorial, Technical Report 03.122, IBM CDorporation, Santa Teresa Laboratory, P.O. Box 50020, San Jose, CA 95150 (November 1980).

Cited By

View all
  • (2020)A Survey of Compiler TestingACM Computing Surveys10.1145/336356253:1(1-36)Online publication date: 6-Feb-2020
  • (2019)Spectrum-based fault localization for context-free grammarsProceedings of the 12th ACM SIGPLAN International Conference on Software Language Engineering10.1145/3357766.3359538(15-28)Online publication date: 20-Oct-2019
  • (2019)Parser-directed fuzzingProceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation10.1145/3314221.3314651(548-560)Online publication date: 8-Jun-2019
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image IBM Systems Journal
IBM Systems Journal  Volume 22, Issue 3
September 1983
127 pages

Publisher

IBM Corp.

United States

Publication History

Published: 01 September 1983

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 20 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2020)A Survey of Compiler TestingACM Computing Surveys10.1145/336356253:1(1-36)Online publication date: 6-Feb-2020
  • (2019)Spectrum-based fault localization for context-free grammarsProceedings of the 12th ACM SIGPLAN International Conference on Software Language Engineering10.1145/3357766.3359538(15-28)Online publication date: 20-Oct-2019
  • (2019)Parser-directed fuzzingProceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation10.1145/3314221.3314651(548-560)Online publication date: 8-Jun-2019
  • (2019)GrappleProceedings of the Fourteenth EuroSys Conference 201910.1145/3302424.3303972(1-17)Online publication date: 25-Mar-2019
  • (2018)Bio-inspired metaheuristicsApplied Intelligence10.1007/s10489-017-1003-348:3(687-702)Online publication date: 1-Mar-2018
  • (2017)Achieving high coverage for floating-point code via unconstrained programmingACM SIGPLAN Notices10.1145/3140587.306238352:6(306-319)Online publication date: 14-Jun-2017
  • (2017)Achieving high coverage for floating-point code via unconstrained programmingProceedings of the 38th ACM SIGPLAN Conference on Programming Language Design and Implementation10.1145/3062341.3062383(306-319)Online publication date: 14-Jun-2017
  • (2017)A Survey on Data-Flow TestingACM Computing Surveys10.1145/302026650:1(1-35)Online publication date: 10-Mar-2017
  • (2017)Evolving test environments to identify faults in swarm robotics algorithms2017 IEEE Congress on Evolutionary Computation (CEC)10.1109/CEC.2017.7969408(929-935)Online publication date: 5-Jun-2017
  • (2017)FOREPOSTEmpirical Software Engineering10.1007/s10664-015-9413-522:1(6-56)Online publication date: 1-Feb-2017
  • Show More Cited By

View Options

View options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media