Testing Programs with the Aid of a Compiler

  • Authors:
  • R. G. Hamlet

  • Affiliations:
  • Department of Computer Science, University of Maryland

  • Venue:
  • IEEE Transactions on Software Engineering
  • Year:
  • 1977

Quantified Score

Hi-index 0.00

Visualization

Abstract

if finite input-output specifications are added to the syntax of programs, these specifications can be verified at compile time. Programs which carry adequate tests with them in this way should be resistant to maintenance errors. If the specifications are independent of program details they are easy to give, and unlikely to contain errors in common with the program. Furthermore, certain finite specifications are maximal in that they exercise the control and expression structure of a program as well as any tests can.