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 条
  • [21] A software development process based on UML state machines
    Cariou, Eric
    Brunschwig, Lea
    Le Goaer, Olivier
    Barbier, Franck
    [J]. 2020 4TH INTERNATIONAL CONFERENCE ON ADVANCED ASPECTS OF SOFTWARE ENGINEERING (ICAASE'2020): 4TH INTERNATIONAL CONFERENCE ON ADVANCED ASPECTS OF SOFTWARE ENGINEERING, 2020, : 23 - 30
  • [22] A UML validation toolset based on Abstract State Machines
    Shen, WW
    Compton, K
    Huggins, J
    [J]. 16TH ANNUAL INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2001), PROCEEDINGS, 2001, : 315 - 318
  • [23] From UML State Machines to Verifiable Lotos Specifications
    Babaee, Reza
    Babamir, Seyed Morteza
    [J]. INNOVATIVE COMPUTING TECHNOLOGY, 2011, 241 : 121 - 129
  • [24] Improving test coverage for UML state machines using transition instrumentation
    Niske, Mario
    Schlingloff, Bernd-Holger
    [J]. COMPUTER SAFETY, RELIABILITY, AND SECURITY, PROCEEDINGS, 2007, 4680 : 301 - +
  • [25] An automatic test case generator derived from state-based testing
    Tsai, BY
    Stobart, S
    Parrington, N
    Mitchell, I
    [J]. 1998 ASIA PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 1998, : 270 - 277
  • [26] Metamodel-based transformation from UML state machines to DEVS models
    Gonzalez, Ariel
    Luna, Carlos
    Cuello, Roque
    Perez, Marcela
    Daniele, Marcela
    [J]. PROCEEDINGS OF THE 2014 XL LATIN AMERICAN COMPUTING CONFERENCE (CLEI), 2014,
  • [27] Influencing Factors in Model-Based Testing with UML State Machines: Report on an Industrial Cooperation
    Weissleder, Stephan
    [J]. MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2009, 5795 : 211 - 225
  • [28] Tool Support for the Teaching of State-Based Behavior Modeling
    Zoellner, Christian
    Adriano, Christian M.
    Wietheger, Simon
    Lambers, Leen
    Giese, Holger
    [J]. ACM/IEEE 25TH INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, MODELS 2022 COMPANION, 2022, : 87 - 94
  • [29] SABRINE: State-Based Robustness Testing of Operating Systems
    Cotroneo, Domenico
    Di Leo, Domenico
    Fucci, Francesco
    Natella, Roberto
    [J]. 2013 28TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2013, : 125 - 135
  • [30] Semantic representation and correspondence for state-based motion transition
    Ashraf, G
    Wong, KC
    [J]. IEEE TRANSACTIONS ON VISUALIZATION AND COMPUTER GRAPHICS, 2003, 9 (04) : 481 - 499