TY - GEN
T1 - Behaviour driven development for tests and verification
AU - Diepenbeck, Melanie
AU - Kühne, Ulrich
AU - Soeken, Mathias
AU - Drechsler, Rolf
PY - 2014/1/1
Y1 - 2014/1/1
N2 - The design of hardware systems is a challenging and error-prone task, where a signifcant portion of the effort is spent for testing and verification. Usually testing and verification are applied as a post-process to the implementation. Meanwhile, for the development of software, test-first approaches such as test driven development (TDD) have become increasingly important. In this paper, we propose a new design flow based on behaviour driven development (BDD), an extension of TDD, where acceptance tests written in natural language drive the implementation. We extend this idea by allowing the specification of properties in natural language and use them as a starting point in the design flow. The flow also includes an automatic generalisation of test cases to properties that are used for formal verification. In this way, testing and formal verification are combined in a seamless manner, while keeping the requirements - from which both tests and formal properties are derived - in a single consistent document. The approach has been implemented and evaluated on several examples to demonstrate the advantages of the proposed flow.
AB - The design of hardware systems is a challenging and error-prone task, where a signifcant portion of the effort is spent for testing and verification. Usually testing and verification are applied as a post-process to the implementation. Meanwhile, for the development of software, test-first approaches such as test driven development (TDD) have become increasingly important. In this paper, we propose a new design flow based on behaviour driven development (BDD), an extension of TDD, where acceptance tests written in natural language drive the implementation. We extend this idea by allowing the specification of properties in natural language and use them as a starting point in the design flow. The flow also includes an automatic generalisation of test cases to properties that are used for formal verification. In this way, testing and formal verification are combined in a seamless manner, while keeping the requirements - from which both tests and formal properties are derived - in a single consistent document. The approach has been implemented and evaluated on several examples to demonstrate the advantages of the proposed flow.
U2 - 10.1007/978-3-319-09099-3_5
DO - 10.1007/978-3-319-09099-3_5
M3 - Conference contribution
AN - SCOPUS:84905015143
SN - 9783319090986
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 61
EP - 77
BT - Tests and Proofs - 8th International Conference, TAP 2014, Held as Part of STAF 2014, Proceedings
PB - Springer Verlag
T2 - 8th International Conference on Tests and Proofs, TAP 2014, Held as Part of the Software Technologies: Applications and Foundations, STAF 2014
Y2 - 24 July 2014 through 25 July 2014
ER -