A framework for specification-based testing

P. Stocks, David Carrington

IEEE Transactions on Software Engineering · 1996 · 250 citations · 31 references

Concepts

TL;DR

The paper introduces test templates and a test template framework as key concepts for specification‑based testing. The framework is defined generically for any model‑based specification notation, exemplified with Z, formally specifies test data sets and their relationships to operations and other data sets, and supports flexible testing strategies. The framework’s applications include test data refinement, regression testing, and test oracle development.

Abstract

Test templates and a test template framework are introduced as useful concepts in specification-based testing. The framework can be defined using any model-based specification notation and used to derive tests from model-based specifications-in this paper, it is demonstrated using the Z notation. The framework formally defines test data sets and their relation to the operations in a specification and to other test data sets, providing structure to the testing process. Flexibility is preserved, so that many testing strategies can be used. Important application areas of the framework are discussed, including refinement of test data, regression testing, and test oracles.

References

31