Automated transition from use cases to UML state machines to support state-based testing

Tao Yue, Shaukat Ali, Lionel Briand

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Use cases are commonly used to structure and document requirements while UML state machine diagrams often describe the behavior of a system and serve as a basis to automate test case generation in many model-based testing (MBT) tools. Therefore, automated support for the transition from use cases to state machines would provide significant, practical help for testing system requirements. Additionally, traceability could be established through automated transformations, which could then be used for instance to link requirements to design decisions and test cases, and assess the impact of requirements changes. In this paper, we propose an approach to automatically generate state machine diagrams from use cases while establishing traceability links. Our approach is implemented in a tool, which we used to perform three case studies, including an industrial case study. The results show that high quality state machine diagrams can be generated, which can be manually refined at reasonable cost to support MBT. Automatically generated state machines showed to largely conform to the actual system behavior as evaluated by a domain expert.

Original languageEnglish
Title of host publicationModelling Foundations and Applications - 7th European Conference, ECMFA 2011, Proceedings
Pages115-131
Number of pages17
DOIs
Publication statusPublished - 2011
Externally publishedYes
Event7th European Conference on Modelling Foundations and Applications, ECMFA 2011 - Birmingham, United Kingdom
Duration: 6 Jun 20119 Jun 2011

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume6698 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference7th European Conference on Modelling Foundations and Applications, ECMFA 2011
Country/TerritoryUnited Kingdom
CityBirmingham
Period6/06/119/06/11

Keywords

  • Model-Based Testing (MBT)
  • Natural Language Processing
  • State Machine
  • State-based Testing
  • Transformation
  • UML
  • Use Case Modeling

Fingerprint

Dive into the research topics of 'Automated transition from use cases to UML state machines to support state-based testing'. Together they form a unique fingerprint.

Cite this