Skip to Main Content
Methodology of automatic generation of test cases based on Model Driven Architecture is proposed, and its design and implementation have be done. The process of generating test cases is that a platform-independent model is converted into a platform-independent test model through level conversion, and the platform-independent test model is converted into the corresponding test cases through vertical conversion. The basic structures of the system model and the test model are designed using Web-application system for the study. The conversion rules from the system model to the test model are designed using the model to model conversion method. The conversion rules from the test model to the test cases are designed using the model to code conversion method. Ultimately, the relevant test cases are generated.