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 条
  • [1] Modeling Test Cases in BPMN for Behavior-Driven Development
    Lubke, Daniel
    van Lessen, Tammo
    IEEE SOFTWARE, 2016, 33 (05) : 15 - 21
  • [2] Crowdsourced Behavior-Driven Development
    Aghayi, Emad
    LaToza, Thomas D.
    Surendra, Paurav
    Abolghasemi, Seyedmeysam
    JOURNAL OF SYSTEMS AND SOFTWARE, 2021, 171
  • [3] Behavior-Driven Requirements Traceability via Automated Acceptance Tests
    Lucassen, Garm
    Dalpiaz, Fabiano
    van der Werf, Jan Martijn E. M.
    Brinkkemper, Sjaak
    Zowghi, Didar
    2017 IEEE 25TH INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE WORKSHOPS (REW), 2017, : 431 - 434
  • [4] Analysis of Behavior-Driven Development: A Thematic Synthesis
    Arredondo-Reyes, Victor M.
    Dominguez-Isidro, Saul
    Sanchez-Garcia, angel J.
    Ocharan-Hernandez, Jorge Octavio
    PROGRAMMING AND COMPUTER SOFTWARE, 2024, 50 (08) : 701 - 713
  • [5] Enantioselective nanofiltration using predictive process modeling: Bridging the gap between materials development and process requirements
    Beke, Aron K.
    Szekely, Gyorgy
    JOURNAL OF MEMBRANE SCIENCE, 2022, 663
  • [6] Bridging the gap between user requirements and configuration requirements
    Colombo, Pietro
    Salehi, Pejman
    Khendek, Ferhat
    Toeroe, Maria
    2012 17TH INTERNATIONAL CONFERENCE ON ENGINEERING OF COMPLEX COMPUTER SYSTEMS (ICECCS), 2012, : 13 - 22
  • [7] Definition of a behavior-driven model for requirements specification and testing of interactive systems
    Silva, Thiago Rocha
    2016 IEEE 24TH INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE (RE), 2016, : 444 - 449
  • [8] Testing of Web Services using Behavior-Driven Development
    Oruc, Ahmet Furkan
    Ovatman, Tolga
    PROCEEDINGS OF THE 6TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING AND SERVICES SCIENCE, VOL 2 (CLOSER), 2016, : 85 - 92
  • [9] Bridging the Gap Between Usability and Requirements Engineering
    Heiskari, Juho
    Kauppinen, Marjo
    Runonen, Mikael
    Mannisto, Tomi
    PROCEEDINGS OF THE 2009 17TH IEEE INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE, 2009, : 303 - 308
  • [10] Bridging the Gap between the Quality Requirements and Implementation
    Merilinna, Janne
    Raty, Tomi
    2009 FOURTH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING ADVANCES (ICSEA 2009), 2009, : 3 - 8