Assessing the quality of behavior-driven development scenarios using BERT
Conference paper
Alinezhadtilaki, N. and Evans, C. 2025. Assessing the quality of behavior-driven development scenarios using BERT. 2025 IEEE 4th International Conference on Computing and Machine Intelligence (ICMI). MI, USA 05 - 06 Apr 2025 IEEE. https://doi.org/10.1109/icmi65310.2025.11141197
| Type | Conference paper |
|---|---|
| Title | Assessing the quality of behavior-driven development scenarios using BERT |
| Authors | Alinezhadtilaki, N. and Evans, C. |
| Abstract | This research investigates the application of BERT (Bidirectional Encoder Representations from Transformers), a state-of-the-art Machine Learning (ML) model for Natural Language Processing (NLP), to improve the quality assessment of Behavior-Driven Development (BDD) scenarios. BDD is a widely used technique in Agile software development, which clarifies feature behavior by defining test scenarios for user stories. While user stories are effective for outlining software requirements, they often lack detailed validation criteria, and the manual evaluation of BDD scenarios can be time-consuming and subjective, leading to inconsistencies, rework, and project delays. To address these challenges, this study explores how BERT can enhance scenario evaluation by leveraging its advanced language understanding capabilities to detect ambiguities and inconsistencies more accurately than traditional methods. Precision, which measures the accuracy of the model's correct predictions, was 70.1 %, indicating how often the model's identified defects were truly defects. Recall, the measure of how many relevant defects the model successfully identified, reached 80.5 %. The F1 score, a balance between precision and recall, was 75.3 %, demonstrating BERT's effectiveness in handling imbalanced data. These results suggest that BERT significantly improves both the objectivity and efficiency of BDD scenario evaluation, offering a valuable tool for enhancing software development processes. This research contributes to the integration of NLP in Agile software development, providing a foundation for future exploration of AI-driven solutions for improving software quality and requirement documentation. |
| Sustainable Development Goals | 9 Industry, innovation and infrastructure |
| Middlesex University Theme | Creativity, Culture & Enterprise |
| Conference | 2025 IEEE 4th International Conference on Computing and Machine Intelligence (ICMI) |
| Proceedings Title | 2025 IEEE 4th International Conference on Computing and Machine Intelligence (ICMI) |
| ISBN | |
| Electronic | 9798331509132 |
| Paperback | 9798331509149 |
| Publisher | IEEE |
| Publication dates | |
| 05 Apr 2025 | |
| Online | 08 Sep 2025 |
| Publication process dates | |
| Accepted | 2025 |
| Deposited | 19 Sep 2025 |
| Output status | Published |
| Digital Object Identifier (DOI) | https://doi.org/10.1109/icmi65310.2025.11141197 |
| Web address (URL) of conference proceedings | https://doi.org/10.1109/ICMI65310.2025 |
https://repository.mdx.ac.uk/item/2v6qxz
384
total views0
total downloads3
views this month0
downloads this month