Search papers, labs, and topics across Lattice.
This paper introduces disjunction composition, a novel method for combining Behavior-Driven Development (BDD) transition systems representing alternative system behaviors to facilitate model-based testing. The approach aims to model and test integrated behavior while preserving the testing power of the original BDD scenarios. The authors prove that disjunction composition preserves testing power by demonstrating that symbolic equivalence of BDD transition systems guarantees equivalent test case failure.
Guaranteeing that composed BDD transition systems maintain the testing power of individual scenarios unlocks more efficient model-based testing in Behavior-Driven Development.
We introduce a compositional approach to model-based test generation in Behavior-Driven Development (BDD). BDD is an agile methodology in which system behavior is specified through textual scenarios that, in our approach, are translated into transition systems used for model-based testing. This paper formally defines disjunction composition, to combine BDD transition systems that represent alternative system behaviors. Disjunction composition allows for modeling and testing the integrated behavior while ensuring that the testing power of the original set of scenarios is preserved. This is proved using a symbolic semantics for BDD transition systems, with the property that the symbolic equivalence of two BDD transition systems guarantees that they fail the same test cases. Also, we demonstrate the potential of disjunction composition by applying the composition in an industrial case study.