International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 95 - Number 12 |
Year of Publication: 2014 |
Authors: Md Azaharuddin Ali, Khasim Shaik, Shreyansh Kumar |
10.5120/16644-6614 |
Md Azaharuddin Ali, Khasim Shaik, Shreyansh Kumar . Test Case Generation using UML State Diagram and OCL Expression. International Journal of Computer Applications. 95, 12 ( June 2014), 7-11. DOI=10.5120/16644-6614
Manual software testing is both an expensive and time consuming activity, requires proper planning and resource. This paper proposed a method to automate the process of test case generation. This proposed technique reduces time and increase the reliability of the software testing processes. The main criteria of software testing are to generate test cases. This methodology consist of transforming the state diagram (UML) into finite state machine (DFA / NDFA) where each node represent state and the arrow connecting the states represent transition. The nodes store state information and arrows maintain trigger information which is necessary for state transition. Mined information and pre- and post- condition of the states are used to build test case. The proposed technique attains sufficient test coverage without increasing the number of test cases. It also achieves much important coverage like transition coverage, transition pair coverage, and provides state coverage