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

Test case generation method and device, equipment and storage medium

A test case generation and test case technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as time-consuming, input errors, low efficiency, etc., so as to avoid errors, omissions or redundancy, and improve test efficiency. and the effect of accuracy

Pending Publication Date: 2021-08-20
深圳赛安特技术服务有限公司
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of this application is to provide a method, device, medium and equipment for generating test cases, aiming to solve the problem that the generation of test cases in the prior art is not only inefficient, takes a long time, but also easily leads to input errors question

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, equipment and storage medium
  • Test case generation method and device, equipment and storage medium
  • Test case generation method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050]In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0051] refer to figure 1 In order to achieve the purpose of the above invention, the present application provides a method for generating a test case. The method includes:

[0052] S1: Obtain a test case generation instruction, wherein the test case generation instruction includes requirement document pointing information and test function information;

[0053] S2: Obtain a requirement document according to the pointing information of the requirement document;

[0054] S3: According to the sample test statements in the test case statement library, identify several test ke...

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 invention relates to the technical field of software testing, and discloses a test case generation method and device, a medium and equipment, and the method comprises the steps: obtaining a test case generation instruction; obtaining a demand document according to the demand document pointing information; according to example test statements in a test case statement library, identifying a plurality of test key statements from the demand document; respectively taking each test key statement as a check point, and marking a function label of the check point; traversing and extracting the test key statements corresponding to the target check point through a preset macro script, sorting the test key statements, and integrating the sorted test key statements into a first test case according to a preset display format, and executing the test function corresponding to the test key statement according to the first test case sequence. Therefore, the generation efficiency of the test case is improved, input errors are avoided, and the software test efficiency and the test accuracy are improved.

Description

technical field [0001] The present application relates to the technical field of software testing, in particular to a method, device, medium and equipment for generating test cases. Background technique [0002] Software testing is an important part of software engineering, and the quality of software testing is closely related to the quality of test cases. The design and execution of test cases is a method of concretely quantifying the test. When executing the test, the test case is used as the standard to facilitate the generation and statistical test results. Test cases are generally designed based on requirements documents. If there is a device that can automatically generate a test case based on the requirements document, it will save time and effort, and the test cases can be more comprehensively covered. point of demand. [0003] Existing test case methods for software testing include: directly inputting requirement documents into the test case management system thr...

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
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 丁会燕
Owner 深圳赛安特技术服务有限公司