GAST: generic automated software testing

  • Authors:
  • Pieter Koopman;Artem Alimarine;Jan Tretmans;Rinus Plasmeijer

  • Affiliations:
  • Nijmegen Institute for Computer and Information Science, The Netherlands;Nijmegen Institute for Computer and Information Science, The Netherlands;Nijmegen Institute for Computer and Information Science, The Netherlands;Nijmegen Institute for Computer and Information Science, The Netherlands

  • Venue:
  • IFL'02 Proceedings of the 14th international conference on Implementation of functional languages
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

Software testing is a labor-intensive, and hence expensive, yet heavily used technique to control quality. In this paper we introduce GAST, a fully automatic test tool. Properties about functions and datatypes can be expressed in first order logic. GAST automatically and systematically generates appropriate test data, evaluates the property for these values, and analyzes the test results. This makes it easier and cheaper to test software components. The distinguishing property of our system is that the test data are generated in a systematic and generic way using generic programming techniques. This implies that there is no need for the user to indicate how data should be generated. Moreover, duplicated tests are avoided, and for finite domains GAST is able to prove a property by testing it for all possible values. As an important side-effect, it also encourages stating formal properties of the software.