Skip to Main Content
Automated test framework and automated generation method of test cases can alleviate the time conflict between software development and testing. In this paper, an improved automated unit test framework-i-NUnit is proposed, which can solve the redundancy problem in test codes by separating test codes and test data. And then a method based on MDA to generate unit test cases for i-NUnit framework automatically is presented, which generates test cases through two layer model transformations. The MDA-based automated generation method of test cases and supporting framework can save software developing time and improve the efficiency of testing.