Inproceedings,

GAST: Generic Automated Software Testing

, , , and .
Implementation of Functional Languages (IFL'02), volume 2670 of LNCS, Springer, (2003)

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 automaticallyand 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 dataare generated in a systematic and generic way using generic programming techniques. This implies that there is no need forthe user to indicate how data should be generated. Moreover, duplicated tests are avoided, and for finite domains Gast isable to prove a property by testing it for all possible values. As an important side-effect, it also encourages stating formalproperties of the software.

Tags

Users

  • @emanuel

Comments and Reviews