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

A test case generation and test case technology, which is applied in the testing field, can solve problems such as high generation cost and slow test case generation efficiency, and achieve the effect of reducing reading difficulty and reading workload

Active Publication Date: 2021-10-19
PING AN BANK CO LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The main purpose of this application is to provide a test case generation method, device, computer equipment and storage medium, aiming to solve the technical problems of high generation cost and slow test case generation efficiency in the existing way of generating test cases

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

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

[0067] Those skilled in the art can understand that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art to which this invention belongs. It should also be understood that terms, such as those defined in commonly used dictionaries, should be understood to have meanings consistent with their meaning in the context of the prior art, and unless specifically defined as herein, are not intended to be idealized or overly Formal meaning to explain.

[0068] refer to figure 1 , the test case generation method of an embodiment of the present application, comprising:

[0069] S1: When the code version information input by the user is received, obtain the second source code corresponding to the co...

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 testing, and provides a test case generation method and device, computer equipment and a storage medium, and the method comprises the following steps: obtaining a second source code; translating the second source code to obtain a second Chinese translation; obtaining a first Chinese translation obtained by translating the first source code; receiving a data comparison instruction, reading and running the pre-comparison code, and generating a comparison task; searching difference data of the second Chinese translation and the first Chinese translation based on the comparison task; obtaining an editable document template and a test case of the first source code, and generating an initial case document; filling a blank document with the difference data to generate a data document; displaying the initial use case document and the data document; and using the obtained case text data of the modified case document as a target test case of the second source code. The generation efficiency of the test case can be effectively improved. The method can also be applied to the field of block chains, and the target test case can be stored on the block chain.

Description

technical field [0001] The present application relates to the technical field of testing, in particular to a test case generation method, device, computer equipment and storage medium. Background technique [0002] Software testing is a very important part of the software development process. During the software development process, there will be multiple software version update iterations. When the old code is modified, testers need to rewrite test cases based on the new code, and then Test based on this test case to confirm whether there are bugs in the new code. Specifically, in the process of rewriting test cases based on new codes, testers usually first need to spend a lot of time reading new codes to understand the corresponding code logic, and then rewrite the corresponding test cases based on the code logic, so that The method of writing test cases requires testers to have high professional requirements, which makes the generation cost of test cases higher and the g...

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/36G06F8/71G06F40/42G06F40/186
CPCG06F11/3684G06F11/3688G06F8/71G06F40/42G06F40/186Y02D10/00
Inventor 陈山
Owner PING AN BANK CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products