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
来源
JOURNAL OF INFORMATION PROCESSING SYSTEMS | 2012年 / 8卷 / 02期
关键词
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 条
  • [21] A Formal Approach to Test Scenarios Generation Based on Guides
    Drobintsev, P. D.
    Kotlyarov, V. P.
    Letichevsky, A. A.
    AUTOMATIC CONTROL AND COMPUTER SCIENCES, 2014, 48 (07) : 415 - 423
  • [22] Novel Approach: Prioritizing Test Cases Based on a Comprehensive Taxonomy of Product Metrics
    Falah, Bouchaib
    Abufardeh, Sameer
    ACM International Conference Proceeding Series, : 1 - 7
  • [23] Carving and Replaying Differential Unit Test Cases from System Test Cases
    Elbaum, Sebastian
    Chin, Hui Nee
    Dwyer, Matthew B.
    Jorde, Matthew
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2009, 35 (01) : 29 - 45
  • [24] From BDD Scenarios to Test Case Generation
    Zameni, Tannaz
    van den Bos, Petra
    Tretmans, Jan
    Foederer, Johan
    Rensink, Arend
    2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS, ICSTW, 2023, : 36 - 44
  • [25] From Scenarios to Test Implementations via Promela
    Ulrich, Andreas
    Alikacem, El-Hachemi
    Hallal, Hesham H.
    Boroday, Sergiy
    TESTING SOFTWARE AND SYSTEMS, 2010, 6435 : 236 - +
  • [26] System test cases from use cases
    Gutierrez, Javier J.
    Escalona, Maria J.
    Mejias, Manuel
    Torres, Jesus
    ICSOFT 2006: Proceedings of the First International Conference on Software and Data Technologies, Vol 1, 2006, : 283 - 286
  • [27] An approach to creating concretized test scenarios within test automation technology for industrial software projects
    Kolchin A.
    Letichevsky A.
    Peschanenko V.
    Drobintsev P.
    Kotlyarov V.
    Automatic Control and Computer Sciences, 1600, Allerton Press Incorporation (47): : 433 - 442
  • [28] Approach to Generating Functional Test Cases from BPMN Process Diagrams
    von Olberg, Pauline
    Strey, Lukas
    2022 IEEE 30TH INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE WORKSHOPS (REW), 2022, : 185 - 189
  • [29] Generating user acceptance test plans from test cases
    Leung, Karl R. P. H.
    Yeung, W. L.
    COMPSAC 2007: THE THIRTY-FIRST ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, VOL II, PROCEEDINGS, 2007, : 737 - +
  • [30] A Novel Method for Allocating Software Test Cases
    Amrita
    Yadav, Dilip Kumar
    3RD INTERNATIONAL CONFERENCE ON RECENT TRENDS IN COMPUTING 2015 (ICRTC-2015), 2015, 57 : 131 - 138