Home Author Index Search Volume 1 May 2009 ISSN 1797-9617

International Journal of

Recent Trends in Engineering

Home > Vol. 1, No. 2


International Journal of Recent Trends in Engineering (IJRTE)

ISSN 1797-9617

Volume 1, Number 2, May 2009

Issue on Computer Science

Page(s): 117-120

Test Case Design Using Conditioned Slicing of Activity Diagram

Mitrabinda Ray, Soubhagya Sankar Barpanda, Durga Prasad Mohapatra

Full text: PDF


For testing software, test case generation is the most important part. The automation of specification based test case generation needs formal or semi formal specification. As a semiformal modeling, UML is widely used to describe analysis and design specification by both academia and industry. Thus UML models become the sources of test case generation naturally. This paper proposes a method to generate test cases from UML activity diagrams. We have proposed conditioned slicing as a general slicing framework for test case generation from activity diagrams. Our method first builds a flow dependence graph from an ordinary UML activity diagram and then applies conditioned slicing on a predicate node of the graph, to generate test cases. It minimizes the number of test cases generated while deriving all practically useful test cases. The effectiveness of a test case is based on how well the test covers and exercises the modeled behaviors. Our proposed method satisfies high path coverage criterion.

Index Terms

UML Activity Diagram, Test Case Generation, Conditioned Slicing, Testing using Slicing

Published by Academy Publisher in cooperation with the ACEEE

@ Copyright 2009 ACADEMY PUBLISHER All rights reserved