International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 6 - Number 8 |
Year of Publication: 2010 |
Authors: Santosh Kumar Swain, Durga Prasad Mohapatra |
10.5120/1098-1436 |
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
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.