Test method and system of test case
A technology of test cases and test methods, which is applied in the direction of software testing/debugging, etc., can solve problems such as wasting system resources, initialization data and test results are different, and achieve the effect of alleviating test pressure and saving test resources
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2012-05-23
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] This application relates to the field of software testing, in particular to a testing method and system for testing cases. Background technique
[0002] In existing software testing technologies, when developing test codes, general testers mix test cases (including test data and business processes) with test codes, and similarly, test results are also mixed with test codes.
[0003] Since test cases and test codes are mixed together, for a function or function, every time a test case is added, a similar test code must be added. The logic of the test code is actually the same, and the difference from the previous test code is only The reason is that the initialization data of the test is different from the test results. If a test code is added every time the test data is changed, it will put a lot of pressure on the system's carrying capacity and waste system resources. Contents of the invention
[0004] In order to solve the above technical problems...
Examples
Embodiment Construction
[0028] In order to enable those skilled in the art to better understand the scheme of the present application. The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.
[0029] The flow chart of the test method of the test case provided by the embodiment of the application is as follows figure 1 shown, including:
[0030] Step S101: read the configuration file and load the test program according to the configuration file;
[0031] Step S102: call the script file, analyze the test case data and business process in the script file;
[0032] Step...