Test case generation method and device, server and medium
A test case and device generation technology, which is applied in the computer field, can solve the problems of labor cost and affecting the efficiency of software development and testing, and achieve the effect of improving test efficiency and reducing consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] figure 1 It is a flow chart of the test case generation method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of generating test cases based on test requirements. The method can be executed by a test case generation device, which can use software and / or It is realized by hardware and can be integrated on the server.
[0026] Such as figure 1 As shown, the test case generation method provided in this embodiment may include:
[0027] S110. Based on the obtained test requirement document, identify at least one test case type involved in the test process.
[0028] The test requirements document describes the current specific test rules based on the test requirements. The test requirement document may be a descriptive text directly input by the tester according to the test requirement, or may be a converted text input by the tester through voice. When inputting the test requirement document, it can be input according to ...
Embodiment 2
[0053] figure 2 It is a flow chart of the test case generation method provided by Embodiment 2 of the present invention. This embodiment further optimizes and expands on the basis of the foregoing embodiments. Such as figure 2 As shown, the method may include:
[0054] S210. Based on the obtained test requirement document, identify at least one test case type involved in the test process.
[0055] S220. According to at least one test case type, determine whether each test case type has a corresponding test sub-case in the test case library.
[0056] According to the type matching result in the test case library, for the test case types that have corresponding test sub-cases in the test case library, execute S230; for the test case types that do not have corresponding test sub-cases in the test case library, execute S240.
[0057] S230. For a test case type that has a corresponding test sub-case in the test case library, extract a test sub-case corresponding to the test c...
Embodiment 3
[0065] image 3 It is a schematic structural diagram of a test case generation device provided in Embodiment 3 of the present invention, and this embodiment is applicable to the case of generating test cases based on test requirements. The device can be implemented in the form of software and / or hardware, and can be integrated on the server.
[0066] Such as image 3 As shown, the test case generation device provided in this embodiment may include a test case type identification module 310, a test subcase extraction module 320 and a target test case generation module 330, wherein:
[0067] A test case type identification module 310, configured to identify at least one test case type involved in the test process based on the acquired test requirement document;
[0068] A test sub-case extraction module 320, configured to extract a test sub-case corresponding to each test case type from the test case library according to at least one test case type;
[0069] The target test c...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


