Dataflow test case generation from UML Class diagrams
R Anbunathan, Anirban Basu · 2013
UML-based testing promises reduction in cost and effort. In this paper, a novel method to generate test cases from UML Class diagrams is presented. Class diagram and the corresponding State diagram are parsed to extract information about attributes, States, Transitions, conditions etc. Using this information, Dataflow, Basis path/DD path test cases are generated manually and automatically. Test coverage is ensured for coverage criterion like State coverage, Transition coverage, Path coverage, Dataflow coverage etc. This method is applied on a case study and the results show significant cost reduction in test cases. Also effectiveness of generated test cases is analyzed through mutation analysis. In this paper, the advantages of this method are compared with other existing methods.