Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Test case generation method and device, computer equipment and storage medium

A test case generation and test case technology, applied in the field of testing, can solve problems such as error-prone, labor-intensive, and time-consuming testers, so as to reduce generation difficulty, ensure data accuracy, and improve generation efficiency.

Active Publication Date: 2021-03-19
平安消费金融有限公司
View PDF8 Cites 7 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 test case generation method, device, computer equipment and storage medium, aiming to solve the problem that existing test cases written manually often need to consume a lot of time for testers, which is too labor-intensive. The generation of use cases is inefficient and error-prone technical problems

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.

[0069] Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present invention refers to the presence of said features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and / or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Additionally, "connected" or "coupled" as used herein may include wireless connec...

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 field of testing, and provides a test case generation method and device, computer equipment and a storage medium.The method comprises the steps of receiving an input use case generation request; analyzing the case generation request, and extracting interface information; inputting the interface information into a preset analysis model, and outputting and returning thetarget interface type through the analysis model; based on the target interface type, judging whether a target universal test case corresponding to the target interface type exists or not; if so, obtaining a target general test case and taking the target general test case as a target test case of the target interface; if not, obtaining an interface type test case corresponding to the target interface type from a case database; and modifying the interface type test case, and taking the modified interface type test case as a target test case. The test case generation method and device can improve the test case generation efficiency. The method and device can also be applied to the field of block chains, and the target test cases and other data can be stored on the block chains.

Description

technical field [0001] The present application relates to the field of testing, in particular to a test case generation method, device, computer equipment and storage medium. Background technique [0002] Interface testing is a part of project testing, and the main object it tests is the interface, which is a test for testing the interface between system components. Interface testing requires the use of test cases for testing. A test case is a set of test inputs, execution conditions, and expected results compiled for a special purpose, in order to test a program path or verify whether a specific requirement is met. [0003] The test cases required for existing interface tests are manually written by testers according to different product requirements, and are maintained in the excel table after the writing is completed. The inventor realized that writing test cases by manual writing often takes a lot of time of testers, which is too labor-intensive, and the generation effi...

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/36G06K9/62G06N3/04G06N3/08
CPCG06F11/3684G06F11/3692G06N3/08G06N3/045G06F18/2415Y02D10/00
Inventor 朱捷
Owner 平安消费金融有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products