Test-Case Generation from Prolog-Based Specifications

  • Authors:
  • Richard Denney

  • Affiliations:
  • -

  • Venue:
  • IEEE Software
  • Year:
  • 1991

Quantified Score

Hi-index 0.00

Visualization

Abstract

Automatic test-case generation from Prolog specifications encounters problems due to recursion, evaluable predicates, and term ordering. A metainterpreter that controls recursion by using a deterministic automaton to monitor its progress through the specification is presented. The automaton is also used to define which paths through the specification are to be used as test cases, so the metainterpreter can compare where it is, with where it needs to go. The efficacy of the approach in dealing with evaluable predicates and term ordering problems is also examined.