Synthesis of test scenarios using UML activity diagrams

被引:29
|
作者
Nayak, Ashalatha [1 ]
Samanta, Debasis [1 ]
机构
[1] Indian Inst Technol, Sch Informat Technol, Kharagpur 721302, W Bengal, India
来源
SOFTWARE AND SYSTEMS MODELING | 2011年 / 10卷 / 01期
关键词
UML; Software testing; Model-based testing; Activity diagram; Test case generation;
D O I
10.1007/s10270-009-0133-4
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Often system developers follow Unified Modeling Language (UML) activity diagrams to depict all possible flows of controls commonly known as scenarios of use cases. Hence, an activity diagram is treated as a useful design artifact to identify all possible scenarios and then check faults in scenarios of a use case. However, identification of all possible scenarios and then testing with activity diagrams is a challenging task because several control flow constructs and their nested combinations make path identification difficult. In this paper, we address this problem and propose an approach to identify all scenarios from activity diagrams and use them to test use cases. The proposed approach is based on the classification of control constructs followed by a transformation approach which takes into account any combination of nested structures and transforms an activity diagram into a model called Intermediate Testable Model (ITM). We use ITM to generate test scenarios. With our approach it is possible to generate more scenarios than the existing work. Further, the proposed approach can be directly carried out using design models without any addition of testability information unlike the existing approaches.
引用
收藏
页码:63 / 89
页数:27
相关论文
共 50 条
  • [1] Synthesis of test scenarios using UML activity diagrams
    Ashalatha Nayak
    Debasis Samanta
    [J]. Software & Systems Modeling, 2011, 10 : 63 - 89
  • [2] Prioritizing test scenarios from UML communication and activity diagrams
    Swain, Ranjita Kumari
    Panthi, Vikas
    Mohapatra, Durga Prasad
    Behera, Prafulla Kumar
    [J]. INNOVATIONS IN SYSTEMS AND SOFTWARE ENGINEERING, 2014, 10 (03) : 165 - 180
  • [3] Using adaptive agents to automatically generate test scenarios from the UML activity diagrams
    Xu, D
    Li, HZ
    Lam, CP
    [J]. 12th Asia-Pacific Software Engineering Conference, Proceedings, 2005, : 385 - 392
  • [4] Tool Support to Deriving Test Scenarios from UML Activity Diagrams
    Xu, Dong
    Liu, Wei
    Liu, Zongtian
    Philbert, Nduwimfura
    [J]. ISISE 2008: INTERNATIONAL SYMPOSIUM ON INFORMATION SCIENCE AND ENGINEERING, VOL 2, 2008, : 73 - 76
  • [5] Prioritization of Scenarios based on UML Activity Diagrams
    Sapna, P. G.
    Mohanty, Hrushikesha
    [J]. 2009 1ST INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE, COMMUNICATION SYSTEMS AND NETWORKS(CICSYN 2009), 2009, : 271 - 276
  • [6] Automatic Test Data Synthesis using UML Sequence Diagrams
    Nayak, Ashalatha
    Samanta, Debasis
    [J]. JOURNAL OF OBJECT TECHNOLOGY, 2010, 9 (02): : 115 - 144
  • [7] Test cases generation from UML activity diagrams
    Kim, Hyungchoul
    Kang, Sungwon
    Baik, Jongmoon
    Ko, Inyoung
    [J]. SNPD 2007: EIGHTH ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCE, NETWORKING, AND PARALLEL/DISTRIBUTED COMPUTING, VOL 3, PROCEEDINGS, 2007, : 556 - +
  • [8] Enhancing UML Activity Diagrams using OCL
    Sunitha, E., V
    Samuel, Philip
    [J]. 2013 IEEE INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND COMPUTING RESEARCH (ICCIC), 2013, : 1 - 6
  • [9] Efficient test case generation for validation of UML activity diagrams
    Mingsong Chen
    Prabhat Mishra
    Dhrubajyoti Kalita
    [J]. Design Automation for Embedded Systems, 2010, 14 : 105 - 130
  • [10] Efficient test case generation for validation of UML activity diagrams
    Chen, Mingsong
    Mishra, Prabhat
    Kalita, Dhrubajyoti
    [J]. DESIGN AUTOMATION FOR EMBEDDED SYSTEMS, 2010, 14 (02) : 105 - 130