Title :
A Novel Approach for Scenario-Based Test Case Generation
Author :
Biswal, B.N. ; Nanda, Pragyan ; Mohapatra, Durga Prasad
Author_Institution :
Dept. of CSE, Nat. Inst. of Technol., Rourkela, India
Abstract :
Testing of software is a time-consuming activity which requires a great deal of planning and resources. Model-based testing is gaining importance as a research issue. In scenario-based testing, test scenarios are used for generating test cases, test drivers etc. UML is widely used to describe analysis and design specifications of software development. UML models are important source of information for test case design. UML activity diagrams describe the realization of the operation in design phase and also support description of parallel activities and synchronization aspects involved in different activities perfectly. In this paper we generate test scenarios from activity diagrams, which achieve test adequacy criteria perfectly. Finally we generate test cases by analyzing the respective sequence and class diagrams of each scenario, which achieves maximum path coverage criteria. Also in our approach, the cost of test model creation is reduced as design is reused.
Keywords :
Unified Modeling Language; formal specification; program testing; UML activity diagrams; design specifications; model-based testing; scenario-based test case generation; software development; software testing; test drivers; Automatic testing; Costs; Information technology; Logic testing; Programming; Software design; Software testing; System testing; Technology planning; Unified modeling language; Activity diagram; Class diagram; Scenario-based testing; Sequence diagram; Test case; Test scenario; UML-based testing;
Conference_Titel :
Information Technology, 2008. ICIT '08. International Conference on
Conference_Location :
Bhubaneswar
Print_ISBN :
978-1-4244-3745-0
DOI :
10.1109/ICIT.2008.43