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

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

Active Publication Date: 2019-05-28
SHENZHEN LEXIN SOFTWARE TECH CO LTD
View PDF4 Cites 4 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 and device, server and medium
  • Test case generation method and device, server and medium
  • Test case generation method and device, server and medium

Examples

Experimental program
Comparison scheme
Effect test

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

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 invention discloses a test case generation method and device, a server and a medium, wherein the method comprises the steps of identifying at least one test case type involved ina test process based on an acquired test demand document; according to the at least one test case type, extracting a test sub-case corresponding to each test case type from the test case library; andaccording to the test requirements, splicing the extracted test sub-cases to obtain a target test case. According to the embodiment of the invention, the problem that the existing test case generation process consumes manpower cost is solved, the effect of automatically generating the test case based on the test demand is realized, the consumption of manpower cost is reduced, and the test efficiency is further improved.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a test case generation method, device, server and medium. 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 when the test is passed can the developed software have the opportunity to be promoted online. [0003] During the development process, it is common to encounter a test scenario in which multiple functions need to be executed at the same time. If during 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 test efficiency of the developed software. Contents of the invention [0004] Embodiments of the present invention provide a test case genera...

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 Applications(China)
IPC IPC(8): G06F11/36
Inventor 王贵
Owner SHENZHEN LEXIN SOFTWARE TECH CO LTD