A Novel Approach for Deriving Test Scenarios and Test Cases from Events

被引:4
|
作者
Singh, Sandeep K. [1 ]
Sabharwal, Sangeeta [2 ,4 ]
Gupta, J. P. [3 ]
机构
[1] JIIT Univ, Dept Comp Sci & Engn & Informat Technol, A-10 Sect 62, Noida, India
[2] NSIT, Div Comp Sci & Engn, New Delhi, India
[3] Sharda Univ, Greater Noida, India
[4] Netaji Subhas Inst Technol, Dept Informat Technol, Delhi, India
来源
关键词
Events; Event Meta Model; Testing; Test cases; Test scenarios; Event Based Systems; Software Engineering;
D O I
10.3745/JIPS.2012.8.2.213
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Safety critical systems, real time systems, and event-based systems have a complex set of events and their own interdependency, which makes them difficult to test ma Safety critic Safety critical systems, real time systems, and event-based systems have a complex set of events and their own interdependency, which makes them difficult to test manually. In order to cut down on costs, save time, and increase reliability, the model based testing approach is the best solution. Such an approach does not require applications or codes prior to generating test cases, so it leads to the early detection of faults, which helps in reducing the development time. Several model-based testing approaches have used different UML models but very few works have been reported to show the generation of test cases that use events. Test cases that use events are an apt choice for these types of systems. However, these works have considered events that happen at a user interface level in a system while other events that happen in a system are not considered. Such works have limited applications in testing the GUI of a system. In this paper, a novel model-based testing approach is presented using business events, state events, and control events that have been captured directly from requirement specifications. The proposed approach documents events in event templates and then builds an event-flow model and a fault model for a system. Test coverage criterion and an algorithm are designed using these models to generate event sequence based test scenarios and test cases. Unlike other event based approaches, our approach is able to detect the proposed faults in a system. A prototype tool is developed to automate and evaluate the applicability of the entire process. Results have shown that the proposed approach and supportive tool is able to successfully derive test scenarios and test cases from the requirement specifications of safety critical systems, real time systems, and event based systems
引用
收藏
页码:213 / 240
页数:28
相关论文
共 50 条
  • [1] Tool Support to Deriving Test Scenarios from UML Activity Diagrams
    Xu, Dong
    Liu, Wei
    Liu, Zongtian
    Philbert, Nduwimfura
    ISISE 2008: INTERNATIONAL SYMPOSIUM ON INFORMATION SCIENCE AND ENGINEERING, VOL 2, 2008, : 73 - 76
  • [2] Deriving test cases using class vectors
    Leung, KRPH
    Wong, W
    SEVENTH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2000, : 146 - 153
  • [3] A Novel Approach to Generate Test Cases from UML Activity Diagrams
    Kundu, Debasish
    Samanta, Debasis
    JOURNAL OF OBJECT TECHNOLOGY, 2009, 8 (03): : 65 - 83
  • [4] Deriving Fault Locating Test Cases from Constrained Covering Arrays
    Jin, Hao
    Tsuchiya, Tatsuhiro
    2018 IEEE 23RD PACIFIC RIM INTERNATIONAL SYMPOSIUM ON DEPENDABLE COMPUTING (PRDC), 2018, : 233 - 240
  • [5] Analysing Test Basis and Deriving Test Cases Based on Data Design Documents
    Yumoto, Tauyoshi
    Matsuodani, Tohru
    Tsuda, Kazuhiko
    10TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS - ICSTW 2017, 2017, : 281 - 288
  • [6] An Approach for Supporting System-level Test Scenarios Generation from Textual Use Cases
    Some, Stephane S.
    Cheng, Xu
    APPLIED COMPUTING 2008, VOLS 1-3, 2008, : 724 - 729
  • [7] A Novel Approach for On-The-Fly Test Cases Synthesis
    Mei, Jia
    Miao, Huaikou
    Liu, Pan
    SNPD 2009: 10TH ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCES, NETWORKING AND PARALLEL DISTRIBUTED COMPUTING, PROCEEDINGS, 2009, : 575 - 578
  • [8] A novel approach to generating test cases with genetic programming
    Karakatič, Sašo
    Schweighofer, Tina
    Lecture Notes in Business Information Processing, 2015, 224 : 260 - 271
  • [9] Intelligent interleaving of scenarios: A novel approach to system level test generation
    Copty, Shady
    Jaeger, Itai
    Katz, Yoav
    Vinov, Michael
    2007 44TH ACM/IEEE DESIGN AUTOMATION CONFERENCE, VOLS 1 AND 2, 2007, : 891 - +
  • [10] An approach to generate test goals from use case scenarios
    Mahmood, Azhar
    Khatoon, Shaheen
    Information Technology Journal, 2013, 12 (08) : 1600 - 1606