Method, system and apparatus for test data batch generation

A technology of test data and generation methods, applied in the computer field, can solve problems such as complex, difficult to completely correspond to test data, error-prone, etc., to meet business needs, improve work efficiency, and reduce error rates

Active Publication Date: 2009-05-13
ADVANCED NEW TECH CO LTD
View PDF8 Cites 33 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The main disadvantage of this method is that it is too complicated, and the required functions must be written by professional database developers, and...

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, system and apparatus for test data batch generation
  • Method, system and apparatus for test data batch generation
  • Method, system and apparatus for test data batch generation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] 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.

[0033] see figure 1 , which is a schematic structural diagram of a system for generating test data in batches according to an embodiment of the present invention, the system includes:

[0034] The configuration unit 101 is used to set a template file, the template file includes the original sentence to generate the test data, the original sentence includes the dynamic change part and the fixed value part of the test data represented by variables. The template file...

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 a batch test data generation method, a system and a device thereof. The method comprises a step of setting a template file which comprises an original statement of test data to be generated, the original statement comprises a dynamic change part of the test data which is represented as a variable and a fixed value part; the method further comprises the following steps: analyzing the template file, identifying the variable and the fixed value part in the template file; replacing the variable with true data according to the type and a generation mode of the variable, generating the dynamic part of the batch test data, and generating a static part of the batch test data according to the fixed value part; merging the dynamic part and the static part of the test data to generate the batch test data; and storing the batch test data in a destination file. The method, the system and the device can ensure that the generated data are correct, and can help accurately process multilist correlated data.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method, system and device for generating test data in batches. Background technique [0002] For most software projects, testing is a very important link, and the success or failure of testing directly determines the success or failure of software projects. During the test, usually, it is necessary to generate test data for multiple interrelated tables, and there must be a certain relationship between these data. However, creating test data is always a troublesome thing, especially when a large amount of test data needs to be created. [0003] When it is necessary to generate test data in batches, most of the content of this batch of test data is the same, and only some data such as database primary keys and dates need to be changed. Of course, which data needs to be changed depends on business needs. Therefore, the difficulty of batch manufacturing test data lies in how to...

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
Inventor 尤占涛
Owner ADVANCED NEW 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