Abstract
Model-based testing (MBT) offers the possibility of automatic generation and execution of tests. However, it is not yet widely used in industry due to the difficulty in creating and maintaining models. On the other hand, Behavior Driven Development (BDD) is becoming more popular in the agile development process to achieve a common understanding of the system under development among stakeholders and to automate testing. However, BDD scenarios are written in human language and are usually not precise enough. Moreover, tests extracted from BDD scenarios are too short and incomplete; they only cover a very small part of the system. Our goal is to combine these two approaches to benefit from the usability of BDD and the test automation capabilities of MBT. In this paper, we first define a formal model of scenarios that we call BDD Transition Systems, second, we create more complete tests by composing scenarios (model composition), and finally, we generate and execute tests automatically. We demonstrate the applicability of this approach in a real-world example: an industrial printer.
Original language | English |
---|---|
Title of host publication | Proceedings - 2023 IEEE 16th International Conference on Software Testing, Verification and Validation Workshops, ICSTW 2023 |
Place of Publication | Piscataway, NJ |
Publisher | IEEE |
Pages | 36-44 |
Number of pages | 9 |
ISBN (Electronic) | 979-8-3503-3335-0 |
ISBN (Print) | 979-8-3503-3336-7 |
DOIs | |
Publication status | Published - 29 May 2023 |
Event | 16th IEEE International Conference on Software Testing, Verification and Validation Workshops, ICSTW 2023 - Dublin, Ireland Duration: 16 Apr 2023 → 20 Apr 2023 Conference number: 16 |
Conference
Conference | 16th IEEE International Conference on Software Testing, Verification and Validation Workshops, ICSTW 2023 |
---|---|
Abbreviated title | ICSTW 2023 |
Country/Territory | Ireland |
City | Dublin |
Period | 16/04/23 → 20/04/23 |
Keywords
- Behavior-Driven Development
- Compositional testing
- Model-Based testing
- 2023 OA procedure