Litcius/Paper detail

Generating Use Case Scenarios from User Stories

Fabian Gilson, Matthias Galster, François Georis

202021 citationsDOI

Abstract

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.

Topics & Concepts

Computer scienceUser storyWorkflowRobustness (evolution)Use Case DiagramActivity diagramHuman–computer interactionUnified Modeling LanguageInformation retrievalSoftware engineeringClass diagramProgramming languageSoftwareDatabaseSoftware developmentChemistryBiochemistryGeneSoftware Engineering ResearchSoftware Engineering Techniques and PracticesAdvanced Software Engineering Methodologies
Generating Use Case Scenarios from User Stories | Litcius