Method and device for generating test cases

A technology for generating test cases and test cases, which is applied in the computer field, can solve the problems of cumbersome human operations, increasing the time of information to be tested, and long time consumption of manual recording data, so as to reduce costs, avoid cumbersome operations, and solve writing and maintenance problems. Effect

Active Publication Date: 2018-04-13
SHENZHEN MAIMAITI INFORMATION TECH CO LTD
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

That is, at present, in the process of generating test cases, it is often necessary to manually enter a large amount of system data, and manual recording of data takes an extremely long time
For example, for the information to be tested in a test case, manual entry often takes 5

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
  • Method and device for generating test cases
  • Method and device for generating test cases
  • Method and device for generating test cases

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] 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 only some, not all, embodiments of the present invention. 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.

[0060] See figure 1 , is a schematic flowchart of a method for generating test cases provided by an embodiment of the present invention, the method at least includes:

[0061] Step S101, obtaining the information to be tested, the information to be tested includes the variable to be measured and the quantity to be measured corresponding to the variable to be measured;

[0062] Specifically, the server can also receive the click instruction confirmed by the tester ...

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 method and a device for generating test cases. The method comprises the steps that to-be-tested information is acquired, wherein the to-be-tested information comprises to-be-tested variables and a to-be-tested quantity corresponding to the to-be-tested variables; a target case model matched with the to-be-tested variables is found in a database accordingto the to-be-tested variables in the to-be-tested information; multiple service data sets relevant to the to-be-tested variables are acquired, and a to-be-controlled ratio is generated according to the total quantity of historical service bills in all the service data sets; and target historical data information relevant to the to-be-tested variables is acquired, and the test cases correspondingto the to-be-tested quantity are generated according to the target historical data information, the target case model, the to-be-tested quantity and the to-be-controlled ratio. By the adoption of themethod and the device, complicated manual operation can be avoided, and a large quantity of test cases can be quickly generated according to demands.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for generating test cases. Background technique [0002] As the business volume of enterprises grows, the scale and complexity of software grow faster and faster, which makes automated testing more and more important. Among them, automated testing is a process of transforming human-driven testing behavior into machine execution. In this process, in order to save manpower, time or hardware resources and improve test efficiency, the concept of automated testing is introduced. [0003] However, before automated testing, it is often necessary to manually enter various test cases that can be adapted to automated testing. That is, at present, in the process of generating test cases, it is often necessary to manually enter a large amount of system data, and manual recording of data takes an extremely long time. For example, for the information to be tested in a ...

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/3684
Inventor 吴坤望阳彭挺
Owner SHENZHEN MAIMAITI INFORMATION TECH 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