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 条
  • [31] Java']Java engine for UML based hybrid state machines
    Borshchev, AV
    Kolesov, YB
    Senichenkov, YB
    [J]. PROCEEDINGS OF THE 2000 WINTER SIMULATION CONFERENCE, VOLS 1 AND 2, 2000, : 1888 - 1894
  • [32] State-Based Dynamic Slicing Technique for UML Model Implementing DSA Algorithm
    Manjari, Behera Mamata
    Rasmita, Dash
    Rajashree, Dash
    [J]. ADVANCES IN COMPUTING AND INFORMATION TECHNOLOGY, 2011, 198 : 243 - 252
  • [33] Enhanced Code Generation from UML Composite State Machines
    Badreddin, Omar
    Lethbridge, Timothy C.
    Forward, Andrew
    Elaasar, Maged
    Aljamaan, Hamoud
    Garzon, Miguel A.
    [J]. PROCEEDINGS OF THE 2014 2ND INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT (MODELSWARD 2014), 2014, : 235 - 245
  • [34] GUIDiVa: Automated Discovery and Validation of State-based GUI Invariants
    Darvish, Ali
    Chang, Carl K.
    [J]. 2014 IEEE 38TH ANNUAL INTERNATIONAL COMPUTERS, SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), 2014, : 65 - 74
  • [35] A Constructive State-based Semantics and Interpreter for a Synchronous Data-flow Language with State Machines
    Colaco, Jean-Louis
    Mendler, Michael
    Pauget, Baptiste
    Pouzet, Marc
    [J]. ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2023, 22 (05)
  • [36] Strategy of state transition in UML based on Petri net
    School of Computer Science and Technology, Beijing University of Aeronautics and Astronautics, Beijing 100083, China
    [J]. Beijing Hangkong Hangtian Daxue Xuebao/Journal of Beijing University of Aeronautics and Astronautics, 2008, 34 (01): : 79 - 83
  • [37] Multi-step state-based opacity for unambiguous weighted machines
    Zhipeng ZHANG
    Chengyi XIA
    Guoyuan QI
    Jun FU
    [J]. Science China(Information Sciences)., 2024, 67 (11) - 221
  • [38] Multi-step state-based opacity for unambiguous weighted machines
    Zhang, Zhipeng
    Xia, Chengyi
    Qi, Guoyuan
    Fu, Jun
    [J]. Science China Information Sciences, 2024, 67 (11)
  • [39] An approach for the synthesis of State transition graphs from Use Cases
    Somé, SS
    [J]. SERP'03: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH AND PRACTICE, VOLS 1 AND 2, 2003, : 456 - 462
  • [40] A method of implementing UML virtual machines with some constraints based on abstract state machines
    Shen, WW
    Compton, K
    Huggins, J
    [J]. ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2003, : 224 - 233