摘要 |
In a method for creating test cases of a software program using a computing device, syntax keywords of a test script and a test template are defined. One or more test scripts are created according to a test requirement file stored in a storage device of the computing device, and each of the test scripts is parsed according to the syntax keywords. The method generates a matrix for each of the test cases according to the test scripts when the test script is parsed successfully, integrates all of the matrixes to generate an integrated matrix, and deleting all test items repeated in the integrated matrix. The method further creates a test case for each test item remaining in the integrated matrix using the test template, and stores all the test cases in the storage device. |