Test Cases Generation for Object-oriented Software from Decision Slicing of UML Activity Diagram

Wasiur Rhmann *

Department of Computer Science, B. B. Ambedkar University (A Central University), Lucknow, U.P., India.

Vipin Saxena

Department of Computer Science, B. B. Ambedkar University (A Central University), Lucknow, U.P., India.

*Author to whom correspondence should be addressed.


Abstract

Software testing is an integral part of the software development life cycle. Design of good test cases is a key challenge in software testing. Test cases can be designed from different artifacts like requirements, design and software code. In Software engineering, different UML diagrams are used for designing and analysis of the software systems. The main contribution of this work is to propose a novel technique of test cases generation from UML activity diagram using an iterative method. Iterative methods are used in numerical analysis for generation of solution of equation iteratively. In the present work a test cases generation technique from decision slicing of UML activity diagram is presented. Decision slices for each decision nodes are derived from the Activity Flow Graph (AFG) of the activity diagram. Test cases are generated for each activity path of the activity flow graph. Decision nodes at each activity path are used to generate system of equations and these equations are solved by an iterative method to generate test data for each activity path. A case study of ticket purchasing from ticket vending machine using UML activity diagram is presented.

Keywords: Software testing, program slicing, activity diagram, iterative method, test cases


How to Cite

Rhmann, Wasiur, and Vipin Saxena. 2016. “Test Cases Generation for Object-Oriented Software from Decision Slicing of UML Activity Diagram”. Journal of Scientific Research and Reports 11 (5):1-10. https://doi.org/10.9734/JSRR/2016/26872.

Downloads

Download data is not yet available.