Test case generation method, device, server and medium
A test case and case technology, applied in the computer field, can solve the problems affecting the development software test efficiency, labor cost, etc., 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 This is a flow chart of the test case generation method provided by the first embodiment of the present invention. This embodiment can be applied to the situation where test cases are generated based on test requirements. The method can be executed by a test case generation device, and the device can use software and / or It is implemented in hardware and can be integrated on the server.
[0026] like figure 1 As shown, the test case generation method provided by this embodiment may include:
[0027] S110. Identify at least one test case type involved in the test process based on the acquired test requirement document.
[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 text converted by the tester after inputting by voice. When the test requirement document is input, ...
Embodiment 2
[0053] figure 2 This is a flowchart of the test case generation method provided by the second embodiment of the present invention, and this embodiment is further optimized and expanded on the basis of the above-mentioned embodiment. like figure 2 As shown, the method can include:
[0054] S210. Identify at least one test case type involved in the test process based on the acquired test requirement document.
[0055] S220. Determine, according to at least one test case type, whether each test case type has a corresponding test subcase in the test case database.
[0056] According to the type matching result in the test case library, for the test case type for which the corresponding test subcase exists in the test case library, execute S230; for the test case type for which there is no corresponding test subcase in the test case library, execute S240.
[0057] S230. For a test case type for which a corresponding test subcase exists in the test case database, extract a tes...
Embodiment 3
[0065] image 3 This is a schematic structural diagram of the test case generating apparatus provided in Embodiment 3 of the present invention, and this embodiment can be applied to the situation where test cases are generated based on test requirements. The device can be implemented in software and / or hardware, and can be integrated on a server.
[0066] like 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 subcase extraction module 320, configured to extract a test subcase corresponding to each test case type from the test case database according to at least one test case type;
[0069] The target test...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


