International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
|
Volume 6 - Issue 8 |
Published: September 2010 |
Authors: Santosh Kumar Swain, Durga Prasad Mohapatra |
![]() |
Santosh Kumar Swain, Durga Prasad Mohapatra . Article:Test Case Generation from Behavioral UML Models. International Journal of Computer Applications. 6, 8 (September 2010), 5-11. DOI=10.5120/1098-1436
@article{ 10.5120/1098-1436, author = { Santosh Kumar Swain,Durga Prasad Mohapatra }, title = { Article:Test Case Generation from Behavioral UML Models }, journal = { International Journal of Computer Applications }, year = { 2010 }, volume = { 6 }, number = { 8 }, pages = { 5-11 }, doi = { 10.5120/1098-1436 }, publisher = { Foundation of Computer Science (FCS), NY, USA } }
%0 Journal Article %D 2010 %A Santosh Kumar Swain %A Durga Prasad Mohapatra %T Article:Test Case Generation from Behavioral UML Models%T %J International Journal of Computer Applications %V 6 %N 8 %P 5-11 %R 10.5120/1098-1436 %I Foundation of Computer Science (FCS), NY, USA
We propose an integrated approach to generate test cases from UML sequence and activity diagrams. We first transform these UML diagrams into a graph. Then, we propose an algorithm to generate test scenarios from the constructed graph. Next, the necessary information for test case generation, such as method-activity sequence, associated objects, and constraint conditions are extracted from test scenario. Our approach reduces the number of test cases and still achieves adequate test coverage. We achieve message-activity path coverage and category partitioning method for each predicate conditions found in the specific path of the design model.