Generating Use Case Scenarios from User Stories

被引:12
作者
Gilson, Fabian [1 ]
Galster, Matthias [1 ]
Georis, Francois [2 ]
机构
[1] Univ Canterbury, Christchurch, New Zealand
[2] Univ Namur, Namur, Belgium
来源
2020 IEEE/ACM INTERNATIONAL CONFERENCE ON SOFTWARE AND SYSTEM PROCESSES, ICSSP | 2020年
关键词
Agile software development; textual user stories; model-driven software development; natural language processing; USE CASE DIAGRAMS; REQUIREMENTS; TRANSFORMATION; CHALLENGES; MODELS;
D O I
10.1145/3379177.3388895
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Textual user stories capture interactions of users with the system as high-level requirements. However, user stories are typically rather short and backlogs can include many stories. This makes it hard to (a) maintain user stories and backlogs, (b) fully understand the scope of a software project without a detailed analysis of the backlog, and (c) analyse how user stories impact design decisions during sprint planning and implementation. This paper proposes a technique to automatically transform textual user stories into visual use case scenarios in the form of robustness diagrams (a semi-formal scenario-based visualisation of workflows). In addition to creating diagrams for individual stories, the technique allows combining diagrams of multiple stories into one diagram to visualise workflows within sets of stories (e.g., a backlog). Moreover, the technique supports "viewpoint-based" diagrams, i.e., diagrams that show relationships between actors, domain entities and user interfaces starting from a diagram element (e.g., an actor) selected by the analyst. The technique utilises natural language processing and rule-based transformations. We evaluated the technique with more than 1,400 user stories from 22 backlogs and show that (a) the technique generates syntactically valid robustness diagrams, and ( b) the quality of automatically generated robustness diagrams compares to the quality of diagrams created by human experts, but depends on the quality of the textual user stories.
引用
收藏
页码:31 / 40
页数:10
相关论文
共 50 条
  • [1] Choosing an NLP Library for Analyzing Software Documentation: A Systematic Literature Review and a Series of Experiments
    Al Omran, Fouad Nasser A.
    Treude, Christoph
    [J]. 2017 IEEE/ACM 14TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2017), 2017, : 187 - 197
  • [2] Alexander I., 2004, Scenarios, Stories and Use Cases: Through the Systems Development Ufe Cycle
  • [3] Extracting Domain Models from Natural-Language Requirements: Approach and Industrial Evaluation
    Arora, Chetan
    Sabetzadeh, Mehrdad
    Briand, Lionel
    Zimmer, Frank
    [J]. 19TH ACM/IEEE INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS (MODELS'16), 2016, : 250 - 260
  • [4] Artefacts and agile method tailoring in large-scale offshore software development programmes
    Bass, Julian M.
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2016, 75 : 1 - 16
  • [5] Cohn M., 2004, User Stories Applied: For Agile Software Development
  • [6] Detecting terminological ambiguity in user stories: Tool and experimentation
    Dalpiaz, Fabiano
    van der Schalk, Ivor
    Brinkkemper, Sjaak
    Aydemir, Fatma Basak
    Lucassen, Garm
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2019, 110 : 3 - 16
  • [7] de Marneffe MC, 2014, LREC 2014 - NINTH INTERNATIONAL CONFERENCE ON LANGUAGE RESOURCES AND EVALUATION, P4585
  • [8] Is in-depth object-oriented knowledge necessary to develop quality robustness diagrams?
    El-Attar, Mohamed
    Elish, Mahmoud O.
    Mahmood, Sajjad
    Miller, James
    [J]. Journal of Software, 2012, 7 (11) : 2538 - 2552
  • [9] Producing robust use case diagrams via reverse engineering of use case descriptions
    El-Attar, Mohamed
    Miller, James
    [J]. SOFTWARE AND SYSTEMS MODELING, 2008, 7 (01) : 67 - 83
  • [10] Using security robustness analysis for early-stage validation of functional security requirements
    El-Attar, Mohamed
    Abdul-Ghani, Hezam Akram
    [J]. REQUIREMENTS ENGINEERING, 2016, 21 (01) : 1 - 27