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 条
  • [31] A Static Approach to Prioritizing JUnit Test Cases
    Mei, Hong
    Hao, Dan
    Zhang, Lingming
    Zhang, Lu
    Zhou, Ji
    Rothermel, Gregg
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2012, 38 (06) : 1258 - 1275
  • [32] Identification of test cases using a formal approach
    Sinha, P
    Suri, N
    TWENTY-NINTH ANNUAL INTERNATIONAL SYMPOSIUM ON FAULT-TOLERANT COMPUTING, DIGEST OF PAPERS, 1999, : 314 - 321
  • [33] TEST CASES IN SOFTWARE TEST
    Luis Aristegui O, Jose
    REVISTA DIGITAL LAMPSAKOS, 2010, (03): : 27 - 34
  • [34] Automated support for deriving test requirements from UML statecharts
    Briand L.C.
    Labiche Y.
    Cui J.
    Software & Systems Modeling, 2005, 4 (4) : 399 - 423
  • [35] DERIVING A PERSONALITY CHARACTERISTIC FROM TEST-TAKING BEHAVIOR
    CREASER, JW
    LITTLE, EB
    PSYCHOLOGICAL REPORTS, 1969, 25 (03) : 877 - &
  • [36] Systems Approach to Creating Test Scenarios for Automated Driving Systems
    Khastgir, Siddartha
    Brewerton, Simon
    Thomas, John
    Jennings, Paul
    RELIABILITY ENGINEERING & SYSTEM SAFETY, 2021, 215
  • [37] Extraction of test cases procedures from textual use cases to reduce test effort: Test Factory Experience Report
    dos Santos, Erick Barros
    da Costa, Lucas Simao
    Aragao, Bruno Saboia
    Santos, Ismayle de Sousa
    Andrade, Rossana Maria de Castro
    SBQS: PROCEEDINGS OF THE 18TH BRAZILIAN SYMPOSIUM ON SOFTWARE QUALITY, 2019, : 266 - 275
  • [38] A novel approach to Heaf test reading
    Bullen, J
    Swallow, EB
    THORAX, 2003, 58 : 56 - 57
  • [39] Novel approach to test data generation
    1600, IE Aust, Barton, Aust
  • [40] A Novel Approach for Test Case Prioritization
    Maheswari, R. Uma
    JeyaMala, D.
    2013 IEEE INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND COMPUTING RESEARCH (ICCIC), 2013, : 597 - 601