Skip to content
Research Article Open access CC BY 4.0

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

Wasiur Rhmann, Vipin Saxena

Journal of Scientific Research and Reports · pp. 1–10 · Published 5 Aug 2016

10.9734/JSRR/2016/26872

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.

Software testing program slicing activity diagram iterative method test cases

Cited by 0

No indexed citations yet.

Article metrics

Real usage data collected on this platform.

0

Page views

0

PDF downloads

0

Outbound clicks

0

Citations

Views by country

Approximate, from request IP at view time — not citizenship or institution. Countries with fewer than 5 views are grouped as "Other".

No views recorded yet.

Traffic sources

Referring site, by host.

No traffic recorded yet.

Views and downloads exclude known bots/crawlers. Citations combines this platform's own DOI-resolved index with each external source's own reported total — see Cited by above for individually listed citing works. Last refreshed 0 seconds ago.