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 specificationsin 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.
Hence, the role of behaviour specifications is to provide abstract test cases, test oracles, and a measure of the test adequacy REF .
A framework for specification-based testing
IEEE Trans. Software Eng.
IEEE Trans. Software Eng.
Computer Science