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

Automatic generation method and device for testing data of database and testing system

A test data and automatic generation technology, applied in software testing/debugging, electrical digital data processing, error detection/correction, etc., can solve problems such as poor data reliability, low operation efficiency, and affecting insertion efficiency, and achieve data insertion speed improvement , improve efficiency, and facilitate user operation

Active Publication Date: 2016-04-20
GUANGDONG KAMFU TECH CO LTD
View PDF8 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] One of the most important tasks in software testing is the preparation and maintenance of test data. Making test data is an important and necessary link before software testing is performed, and this work is cumbersome, time-consuming, repetitive and extremely error-prone, so finding A general, visual approach to generating test data is very meaningful and important
Especially in the field of database automation testing and performance testing, a large amount of test data is required for testing. The demand for test data will be hundreds of thousands, millions or even tens of millions of levels, and the required data is generally not solidified single data, but It is the data with certain rules, and there are various relationships between the data, so the preparation of the test data requires a lot of manpower and time
Moreover, the larger the amount of test data generated and inserted, the more complex the test data rules will be, and the more manpower will be consumed. The existing test tool data generation rules are single, and basically rely on manual generation and maintenance. The generated data Poor reliability and poor integration between data have brought great troubles to the testing work
[0003] Especially when the existing database test data is generated, it is impossible to judge whether the fields in the database table are associated with foreign keys, resulting in inaccurate generated test data, and it is impossible to check whether the associated data between the database tables is correct
[0004] In the prior art, the generated test data is inserted into the database through the batch processing operation of java. Since the batch processing of java is inserted into the database, efficiency issues will be involved, and the number, size, and type of fields are different, which will directly affect the insertion efficiency. Different batch insertion volumes will also affect insertion efficiency
[0005] Existing database tests cannot be operated visually, with low operational efficiency and low accuracy

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 generation method and device for testing data of database and testing system
  • Automatic generation method and device for testing data of database and testing system
  • Automatic generation method and device for testing data of database and testing system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] Hereinafter, embodiments according to the present invention will be described with reference to the drawings, but the present invention is not limited thereto. The constituent elements of the embodiments described below can be appropriately combined. In addition, some constituent elements may not be used.

[0049] Automatic Generation Method of Test Data of Database

[0050] figure 1 A method for automatically generating test data of the database of the present invention is schematically shown. The automatic generation method is used to automatically generate test data in the target database according to certain generation rules and insertion rules during the process of software development and testing. Specifically, the method includes the following steps: S1, selecting a database table that needs to generate test data; S2, querying the parameters of the database table; S3, selecting the generation of the test data according to the parameters of the database table...

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 provides an automatic generation method and device for testing data of a database and a testing system. The method comprises the steps that a database list needing to generate testing data is selected; parameters of the database list are inquired; according to the parameters of the database list, generation rules of the testing data are selected, and the testing data are generated; insert rules of the testing data are selected, and the generated testing data are inserted into the database list according to the insert rules. According to the automatic generation method and device for testing data of the database and the testing system, the technical problem of field correlation foreign key recognition is solved, various flexible testing data generation rules are provided, the intelligent insert rules are provided, the data insert speed is greatly increased, a user interface is provided, and operation is easy.

Description

technical field [0001] The invention relates to an automatic generation method, device and test system of test data, in particular to an automatic generation method, device and test system for automatically generating test data in a database. Background technique [0002] One of the most important tasks in software testing is the preparation and maintenance of test data. Making test data is an important and necessary link before software testing is performed, and this work is cumbersome, time-consuming, repetitive and extremely error-prone, so finding A common, visual approach to generating test data is very meaningful and important. Especially in the field of database automation testing and performance testing, a large amount of test data is required for testing. The demand for test data will be hundreds of thousands, millions or even tens of millions of levels, and the required data is generally not solidified single data, but It is the data with certain rules, and there ...

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 GUANGDONG KAMFU TECH CO LTD
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