|
计算机应用研究 2012
Using partition method to generate test cases from UML diagrams
|
Abstract:
Generating test cases automatically is one of the main directions of the software testing research. There are a few problems such as inefficient data, no purpose, redundant, in the existing UML model-driven test methods. This paper proposed a new method to generate test case based on UML model-driven, which used partition theory to classify test scenarios into five types, and designed different ranges and ways to choose test data. And also designed a tool which realized this method. And demonstrated a tool to realize this method, which could generate test case automatically by supplied UML diagrams and data constraints of the software under test. Experimental result shows that the test cases get by this method are smaller number and targeted.