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

Automatic test case generation method and device, computer equipment and storage medium

A test case and automatic generation technology, applied in computing, software testing/debugging, error detection/correction, etc., can solve the problems of difficult test cases, unusable test cases, long time consumption, etc., to improve test efficiency , The program design is simple, and the effect is not easy to make mistakes

Active Publication Date: 2020-08-07
PING AN TECH (SHENZHEN) CO LTD
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the existing technology, as the complexity of the system increases and the number of interfaces increases, it is extremely difficult to write test cases that can completely cover all interfaces, and any change in the internal interface in the actual pr

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0030] The automatic generation method of the test case that the present invention provides can be applied in such as figure 1 , where a client (computer device) communicates with a server over a network. Wherein, the client (computer device) includes but is not limited to various personal computers, notebook computers, smart phones, tablet computers, cameras and portable wearable devices. The server can be implemented by an independent server or a se...

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 discloses an automatic test case generation method and device, computer equipment and a storage medium, and the method comprises the steps: obtaining interface documents of all test interfaces when a test case generation instruction is detected to be triggered, and judging whether the interface documents meet the test requirements or not; extracting a test attribute value from the interface document meeting the test requirement through Python, and converting the test attribute value into JSON character string information; generating a test case, inputting the corresponding JSON character string information in each test case into the effective judgment model, obtaining an output judgment result, performing duplicate removal processing on the test case according to the judgmentresult, and recording the test case as a target test case; determining a feature type; and determining a feature level according to the test attribute value and the feature type, recording the targettest case containing the feature type and the feature level as a standard test case, and sorting and storing the standard test case. According to the invention, the test case with comprehensive coverage and uniqueness is automatically generated, and the labor cost is reduced.

Description

technical field [0001] The invention relates to the field of test case generation, in particular to a test case automatic generation method, device, computer equipment and storage medium. Background technique [0002] With the rapid development of computer technology, the system is becoming more and more complex, relying on traditional front-end testing can no longer meet the needs, in order to meet the needs of early intervention testing, interface testing came into being. Interface testing refers to a test that writes test cases according to test documents and uses the written test cases to test the interface between system components. In the existing technology, as the complexity of the system increases and the number of interfaces increases, it is extremely difficult to write test cases that can completely cover all interfaces, and any change in the internal interface in the actual process may lead to related test cases. Use cases are not available, and the process of w...

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/3676
Inventor 张美苑
Owner PING AN TECH (SHENZHEN) CO LTD