Controlling test case explosion in test generation from B formal models
- 20 January 2004
- journal article
- research article
- Published by Wiley in Software Testing, Verification and Reliability
- Vol. 14 (2) , 81-103
Abstract
BZ‐TESTING‐TOOLS (BZ‐TT) is a tool set for automated test case generation from B and Z specifications. BZ‐TT uses boundary and cause–effect testing on the basis of the formal model. It has been used and validated on several industrial applications in the domain of critical software, particularly smart card and transport systems. This paper presents the test coverage criteria supported by BZ‐TT. On the one hand, these correspond to various classical structural coverage criteria, but specialized to the case of B abstract machines. The paper gives algorithms for these in Prolog. On the other hand, BZ‐TT introduces new coverage criteria for complex data structures, based on boundary analysis: this paper defines weak and strong state‐boundary coverage, input‐boundary coverage and output‐boundary coverage. Finally, the paper describes how BZ‐TT presents a unified view of these criteria to the validation engineer, and allows him or her to control the test case explosion on a coarse basis (choosing from a range of coverage criteria) as well as a fine basis (selecting options for each state or input variable). Copyright © 2004 John Wiley & Sons, Ltd.Keywords
This publication has 23 references indexed in Scilit:
- Generation of test sequences from formal specifications: GSM 11-11 standard case studySoftware: Practice and Experience, 2004
- Reification of Executable Test Scripts in Formal Specification-Based Test Generation: The Java Card Transaction Mechanism Case Study2003
- Generating test data from state‐based specificationsSoftware Testing, Verification and Reliability, 2003
- Automated Boundary Testing from Z and B2002
- CLPS-B—A Constraint Solver for B2002
- Conditioned slicing supports partition testingSoftware Testing, Verification and Reliability, 2001
- Test Criteria Definition for B ModelsLecture Notes in Computer Science, 1999
- The dynamic domain reduction procedure for test data generationSoftware: Practice and Experience, 1999
- Software unit test coverage and adequacyACM Computing Surveys, 1997
- Testing from a Z SpecificationSoftware Testing, Verification and Reliability, 1997