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 条
  • [41] A Novel Approach to Entirely Integrate Virtual Test into Test Development Flow
    Lu, Ping
    Glaser, Daniel
    Uygur, Guerkan
    Helmreich, Klaus
    DATE: 2009 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION, VOLS 1-3, 2009, : 797 - 802
  • [42] Deriving products for variability test of Feature Models with a hyper-heuristic approach
    Strickler, Anderi
    Prado Lima, Jackson A.
    Vergilio, Silvia R.
    Pozo, Aurora T. R.
    APPLIED SOFT COMPUTING, 2016, 49 : 1232 - 1242
  • [43] Enhancing Genetic Algorithm with Cumulative Probabilities to Derive Critical Test Scenarios from Use-Cases
    Tran, An T.
    Quan, Tho T.
    Le, Thuan D.
    FUTURE DATA AND SECURITY ENGINEERING, FDSE 2014, 2014, 8860 : 286 - 299
  • [44] Test cases from a specification: An example
    McGregor, JD
    JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 1998, 10 (09): : 66 - 70
  • [45] From Formal Specifications to Efficient Test Scenarios Generation
    Yang, Jing
    Ghazel, Mohamed
    El-Koursi, El-Miloudi
    2013 INTERNATIONAL CONFERENCE ON ADVANCED LOGISTICS AND TRANSPORT (ICALT), 2013, : 35 - 40
  • [46] A test class framework for generating test cases from Z specifications
    Miao, HK
    Liu, L
    SIXTH IEEE INTERNATIONAL CONFERENCE ON ENGINEERING OF COMPLEX COMPUTER SYSTEMS, PROCEEDINGS, 2000, : 164 - 171
  • [47] Generating test cases from sequences of use cases
    Gutierrez, Javier J.
    Escalona, Maria J.
    Mejias, Manuel
    Torres, Jesus
    WEBIST 2006: PROCEEDINGS OF THE SECOND INTERNATIONAL CONFERENCE ON WEB INFORMATION SYSTEMS AND TECHNOLOGIES: INTERNET TECHNOLOGY / WEB INTERFACE AND APPLICATIONS, 2006, : 473 - 476
  • [48] Measuring Redundancy Score for Test Suite Evaluation by Using Test Cases Matching Approach
    Saputra, Mochamad Chandra
    Katayama, Tetsuro
    Kita, Yoshihiro
    Yamaba, Hisaaki
    Aburada, Kentaro
    Okazaki, Naonobu
    JOURNAL OF ROBOTICS NETWORKING AND ARTIFICIAL LIFE, 2021, 8 (01): : 1 - 5
  • [49] An Automated Approach to Generate Test Cases From Use Case Description Model
    Alrawashed, Thamer A.
    Almomani, Ammar
    Althunibat, Ahmad
    Tamimi, Abdelfatah
    CMES-COMPUTER MODELING IN ENGINEERING & SCIENCES, 2019, 119 (03): : 409 - 425
  • [50] An Approach to Generate Safety Validation Test Cases from UML Activity Diagram
    Tiwari, Saurabh
    Gupta, Atul
    2013 20TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2013), VOL 1, 2013, : 189 - 198