Bridging the Gap between Requirements Modeling and Behavior-driven Development

被引:7
|
作者
Alferez, Mauricio [1 ]
Pastore, Fabrizio [1 ]
Sabetzadeh, Mehrdad [1 ]
Briand, Lionel C. [1 ,2 ]
Riccardi, Jean-Richard [3 ]
机构
[1] Univ Luxembourg, SnT Ctr Secur Reliabil & Trust, Luxembourg, Luxembourg
[2] Univ Ottawa, Sch Engn & Comp Sci, Ottawa, ON, Canada
[3] Clearstream Serv SA, Luxembourg, Luxembourg
基金
欧洲研究理事会;
关键词
Software testing; BDD; modeling; requirements engineering; text generation; Gherkin; and FinTech; GENERATION;
D O I
10.1109/MODELS.2019.00008
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Acceptance criteria (AC) are implementation agnostic conditions that a system must meet to be consistent with its requirements and be accepted by its stakeholders. Each acceptance criterion is typically expressed as a natural-language statement with a clear pass or fail outcome. Writing AC is a tedious and error-prone activity, especially when the requirements specifications evolve and there are different analysts and testing teams involved. Analysts and testers must iterate multiple times to ensure that AC are understandable and feasible, and accurately address the most important requirements and workflows of the system being developed. In many cases, analysts express requirements through models, along with natural language, typically in some variant of the UML. AC must then be derived by developers and testers from such models. In this paper, we bridge the gap between requirements models and AC by providing a UML-based modeling methodology and an automated solution to generate AC. We target AC in the form of Behavioral Specifications in the context of Behavioral-Driven Development (BDD), a widely used agile practice in many application domains. More specially we target the well-known Gherkin language to express AC, which then can be used to generate executable test cases. We evaluate our modeling methodology and AC generation solution through an industrial case study in the financial domain. Our results suggest that (1) our methodology is feasible to apply in practice, and (2) the additional modeling effort required by our methodology is outweighed by the benefits the methodology brings in terms of automated and systematic AC generation and improved model precision.
引用
收藏
页码:239 / 249
页数:11
相关论文
共 50 条
  • [21] Demystifying the adoption of behavior-driven development in open source projects
    Zampetti, Fiorella
    Di Sorbo, Andrea
    Visaggio, Corrado Aaron
    Canfora, Gerardo
    Di Penta, Massimiliano
    INFORMATION AND SOFTWARE TECHNOLOGY, 2020, 123
  • [22] Benefits and Challenges of the Behavior-Driven Development: A Systematic literature review
    Arredondo-Reyes, Victor Manuel
    Dominguez-Isidro, Saul
    Sanchez-Garcia, Angel J.
    Ocharan-Hernandez, Jorge Octavio
    2023 11TH INTERNATIONAL CONFERENCE IN SOFTWARE ENGINEERING RESEARCH AND INNOVATION, CONISOFT 2023, 2023, : 45 - 54
  • [23] Systematic bridging the gap between requirements and a OO design
    Tan, HBK
    Li, WH
    ASE 2002: 17TH IEEE INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, 2002, : 249 - 252
  • [24] Service-Oriented Architecture Modeling: Bridging the Gap between Structure and Behavior
    Clavreul, Mickael
    Mosser, Sebastien
    Blay-Fornarino, Mireille
    France, Robert B.
    MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, 2011, 6981 : 289 - +
  • [25] Bridging the requirements–implementation modeling gap with object–process methodology
    Avi Soffer
    Dov Dori
    Innovations in Systems and Software Engineering, 2009, 5 (1) : 27 - 34
  • [26] Behavior-Driven Synthesis of Human Dynamics
    Blattmann, Andreas
    Milbich, Timo
    Dorkenwald, Michael
    Ommer, Bjoern
    2021 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, CVPR 2021, 2021, : 12231 - 12241
  • [27] A Behavior-driven Development and Reinforcement Learning approach for videogame automated testing
    Mastain, Vincent
    Petrillo, Fabio
    PROCEEDINGS 2024 IEEE/ACM 8TH INTERNATIONAL WORKSHOP ON GAMES AND SOFTWARE ENGINEERING, GAS 2024, 2024, : 1 - 8
  • [28] Behavior-Driven Development Benefits and Challenges: Reports from an Industrial Study
    Pereira, Lauriane
    Sharp, Helen
    de Souza, Cleidson
    Oliveira, Gabriel
    Marczak, Sabrina
    Bastos, Ricardo
    19TH INTERNATIONAL CONFERENCE ON AGILE SOFTWARE DEVELOPMENT (XP '18), 2018,
  • [29] On the Characterization of Behavior-Driven Development Adoption Benefits: A Multiple Case Study
    Couto, Thiciane
    Marczak, Sabrina
    Callegari, Daniel
    Mora, Michael
    Gomes, Fabio
    PROCEEDINGS OF THE 21TH BRAZILIAN SYMPOSIUM ON SOFTWARE QUALITY, SBOS 2022, 2022,
  • [30] Applying Problem Frames in Behavior-Driven Development for Smart Cone System
    Yen, Yi-Chun
    Wang, Bing-Yun
    Zhong, Xin-Zhe
    Chiang, Wei-Yi
    Hsieh, Chin-Yun
    Cheng, Yu Chin
    2021 28TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2021), 2021, : 566 - 567