Testing with Functions as Specifications

Author Pieter Koopman

Thumbnail PDF


  • Filesize: 204 kB
  • 16 pages

Document Identifiers

Author Details

Pieter Koopman

Cite AsGet BibTex

Pieter Koopman. Testing with Functions as Specifications. In Perspectives of Model-Based Testing. Dagstuhl Seminar Proceedings, Volume 4371, pp. 1-16, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2005)


In this paper we show that mathematical functions and logical expressions can very well be used as, partial, specifications. Reactive systems can be modelled by powerful extended state transition systems, that can be nondeterministic and can handle parameterized and infinite types for the inputs, outputs and states. These specifications can very concisely and directly be stated in a modern functional programming language. The test tool Gast is able to generate test data based on these specifications, execute the associated tests, and make a verdict fully automatically. Test data can be generated fully automatically, but can also be tailored in various high level ways, if that is desired. Advantages of this approach are that one specifies properties instead of instances of these properties, test data are automatically derived instead of manually, the tests performed are always up to date with the current specification, and testing is automatic (and hence fast and accurate).
  • Automatic testing
  • model based testing
  • specification based testing
  • functions


  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    PDF Downloads
Questions / Remarks / Feedback

Feedback for Dagstuhl Publishing

Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail