Automated Transition from Use Cases to UML State Machines to Support State-Based Testing

被引:0
|
作者
Yue, Tao [1 ]
Ali, Shaukat [1 ]
Briand, Lionel [1 ]
机构
[1] Simula Res Lab, N-1325 Lysaker, Norway
来源
关键词
Use Case Modeling; UML; State Machine; Model-Based Testing (MBT); State-based Testing; Transformation; Natural Language Processing;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:115 / 131
页数:17
相关论文
共 50 条
  • [41] A state-based testing approach for aspect-oriented programming
    Liu, Chien-Hung
    Chang, Chuan-Wen
    [J]. JOURNAL OF INFORMATION SCIENCE AND ENGINEERING, 2008, 24 (01) : 11 - 31
  • [42] Assessing and improving state-based class testing: A series of experiments
    Briand, LC
    Di Penta, M
    Labiche, Y
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2004, 30 (11) : 770 - 793
  • [43] A State-Based Testing Method for Detecting Aspect Composition Faults
    Silveira, Fabio Fagundes
    da Cunha, Adilson Marques
    Lisboa, Maria Lucia
    [J]. COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2014, PT V, 2014, 8583 : 418 - +
  • [44] Automated Software Testing Based on Hierarchical State Transition Matrix for Smart TV
    Cui, Kai
    Zhou, Kuanjiu
    Song, Houbing
    Li, Mingchu
    [J]. IEEE ACCESS, 2017, 5 : 6492 - 6501
  • [45] Wrappers - a mechanism to support state-based authorisation in Web applications
    Olivier, MS
    Gudes, E
    [J]. DATA & KNOWLEDGE ENGINEERING, 2002, 43 (03) : 281 - 292
  • [46] State-Based Models in Model-Based Testing: A Systematic Review
    Sabbaghi, Arash
    Keyvanpour, Mohammad Reza
    [J]. 2017 IEEE 4TH INTERNATIONAL CONFERENCE ON KNOWLEDGE-BASED ENGINEERING AND INNOVATION (KBEI), 2017, : 942 - 948
  • [47] Oxidation State-Based Selectivity Tuning in Transition Metal Catalysis
    Zou, Tian-Yi
    Zhang, Qing-Wei
    [J]. CHEMCATCHEM, 2024, 16 (08)
  • [48] Dependability analysis of DES based on MARTE and UML state machines models
    José Merseguer
    Simona Bernardi
    [J]. Discrete Event Dynamic Systems, 2012, 22 : 163 - 178
  • [49] A rule-based Approach to Model Checking of UML State Machines
    Grobelna, Iwona
    Grobelny, Michal
    Stefanowicz, Lukasz
    [J]. PROCEEDINGS OF THE INTERNATIONAL CONFERENCE OF COMPUTATIONAL METHODS IN SCIENCES AND ENGINEERING 2016 (ICCMSE-2016), 2016, 1790
  • [50] Dependability analysis of DES based on MARTE and UML state machines models
    Merseguer, Jose
    Bernardi, Simona
    [J]. DISCRETE EVENT DYNAMIC SYSTEMS-THEORY AND APPLICATIONS, 2012, 22 (02): : 163 - 178