Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Active Publication Date: 2022-06-24
SHENZHEN LEXIN SOFTWARE TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If in each test process, developers are completely relied on to write and combine various test programs, it will not only consume manpower costs, but also affect the testing efficiency of the developed software

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Test case generation method, device, server and medium
  • Test case generation method, device, server and medium
  • Test case generation method, device, server and medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the present invention discloses a test case generation method, device, server and medium, wherein the method includes: based on the obtained test requirement document, identifying at least one test case type involved in the test process; according to at least one test case type, Extract the test sub-cases corresponding to each test case type from the test case library; according to the test requirements, splice the extracted test sub-cases to obtain the target test case. The embodiment of the present invention solves the problem of labor costs in the existing test case generation process, realizes the effect of automatically generating test cases based on test requirements, reduces the consumption of labor costs, and improves test efficiency.

Description

technical field [0001] Embodiments of the present invention relate to the field of computer technologies, and in particular, to a method, apparatus, server, and medium for generating a test case. Background technique [0002] Testing is an important part of the software development process. After case testing, the stability and compatibility of the developed software can be verified, and software errors and defects can be found. Only after the test is passed, the development software has the opportunity to be launched online. [0003] During development, it is common to encounter a test scenario where tests need to execute multiple functions simultaneously. If in each testing process, it is completely dependent on developers to write and combine various test programs, which not only consumes labor costs, but also affects the testing efficiency of the developed software. SUMMARY OF THE INVENTION [0004] Embodiments of the present invention provide a test case generation...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
Inventor 王贵
Owner SHENZHEN LEXIN SOFTWARE TECH CO LTD