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
TypeConference paper
TitleAssessing the quality of behavior-driven development scenarios using BERT
AuthorsAlinezhadtilaki, 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 Goals9 Industry, innovation and infrastructure
Middlesex University ThemeCreativity, Culture & Enterprise
Conference2025 IEEE 4th International Conference on Computing and Machine Intelligence (ICMI)
Proceedings Title2025 IEEE 4th International Conference on Computing and Machine Intelligence (ICMI)
ISBN
Electronic9798331509132
Paperback9798331509149
PublisherIEEE
Publication dates
Print05 Apr 2025
Online08 Sep 2025
Publication process dates
Accepted2025
Deposited19 Sep 2025
Output statusPublished
Digital Object Identifier (DOI)https://doi.org/10.1109/icmi65310.2025.11141197
Web address (URL) of conference proceedingshttps://doi.org/10.1109/ICMI65310.2025
Permalink -

https://repository.mdx.ac.uk/item/2v6qxz

  • 384
    total views
  • 0
    total downloads
  • 3
    views this month
  • 0
    downloads this month

Export as

Related outputs

RC-ASEF: An open-source tool-supported requirements elicitation framework for context-aware systems development
Alegre, U., Augusto, J. and Evans, C. 2018. RC-ASEF: An open-source tool-supported requirements elicitation framework for context-aware systems development. Annals of Computer Science and Information Systems. 15, pp. 829-838. https://doi.org/10.15439/2018F136
SMERF: Social Media, Ethics and Risk Framework
Mitchell, I., Cockerton, T., Hara, S. and Evans, C. 2018. SMERF: Social Media, Ethics and Risk Framework. in: Jahankhani, H. (ed.) Cyber Criminology Cham, Switzerland Springer. pp. 203-225
Engineering intelligent environments: preliminary findings of a systematic review
Santokhee, A., Augusto, J. and Evans, C. 2018. Engineering intelligent environments: preliminary findings of a systematic review. Chatzigiannakis, I., Tobe, Y., Novais, P. and Amft, O. (ed.) 2nd Workshop on Citizen Centric Smart Cities Solutions (CCSCS'18), The 14th International Conference on Intelligent Environments. Rome, Italy 25 - 28 Jun 2018 IOS Press. pp. 57-66 https://doi.org/10.3233/978-1-61499-874-7-57
Perspectives on engineering more usable context-aware systems
Alegre, U., Augusto, J. and Evans, C. 2018. Perspectives on engineering more usable context-aware systems. Journal of Ambient Intelligence and Humanized Computing. 9 (5), pp. 1593-1609. https://doi.org/10.1007/s12652-018-0863-7
Programming with simulated neurons: a first design pattern
Evans, C., Mitchell, I. and Huyck, C. 2016. Programming with simulated neurons: a first design pattern. PPIG 2016 - 27th Annual Workshop of the Psychology of Programming Interest Group. University of Cambridge, Cambridge, UK 07 - 10 Sep 2016 Psychology of Programming Interest Group. pp. 36-45
PlaNeural: spiking neural networks that plan
Mitchell, I., Huyck, C. and Evans, C. 2016. PlaNeural: spiking neural networks that plan. 7th Annual International Conference on Biologically Inspired Cognitive Architectures, BICA 2016. New York City, NY, USA 16 Jul 2016 Elsevier. pp. 198-204 https://doi.org/10.1016/j.procs.2016.07.425
A comparison of simple agents implemented in simulated neurons
Huyck, C., Evans, C. and Mitchell, I. 2015. A comparison of simple agents implemented in simulated neurons. Biologically Inspired Cognitive Architectures. 12, pp. 9-19. https://doi.org/10.1016/j.bica.2015.03.001
Requirements for context-aware systems
Evans, C., Brodie, L. and Augusto, J. 2014. Requirements for context-aware systems. 20th International Working Conference on Requirements Engineering: Foundations for Software Quality (REFSQ). Essen, Germany 07 - 10 Apr 2014 pp. 137-138
Requirements engineering for intelligent environments
Evans, C., Brodie, L. and Augusto, J. 2014. Requirements engineering for intelligent environments. The 10th International Conference on Intelligent Environments. Shanghai, China 29 Jun - 04 Jul 2014 pp. 154-161