Method and device for generating test data, computer equipment and storage medium

A technology of test data and computer programs, applied in the field of test data generation, can solve problems such as data preparation scripts/operations cannot be shared, business data flow is not very clear, and business processes cannot be understood, so as to improve test efficiency and simplify business personnel. The effect of dependence and efficient value transfer

Pending Publication Date: 2022-03-15
招联消费金融股份有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Testers need to prepare a large amount of test data during the testing process, and use these prepared test data to test various businesses, and most testers have limited knowledge and cannot understand the processes of all businesses in the world, so the cross-business system data When preparing, the assistance of other business testers is required, and the respective data preparation scripts / operations cannot be shared
[0003] In traditional technology, cross-domain test data is prepared manually, and the respective data preparation scripts / operations cannot be shared
At the same time, because developers, UAT acceptance personnel and other staff need test data when doing some test verification, and they are not very clear about the data flow of the business, they need to frequently ask business personnel to assist in making numbers, resulting in a decrease in overall efficiency

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 data, computer equipment and storage medium
  • Method and device for generating test data, computer equipment and storage medium
  • Method and device for generating test data, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.

[0059] The method for generating test data provided in the embodiment of the present application can be applied to such as figure 1 shown in the application environment. Wherein, the terminal 102 communicates with the server 104 through the network. The data storage system can store data that needs to be processed by the server 104 . The data storage system can be integrated on the server 104, or placed on the cloud or other network servers.

[0060] The server 104 acquires the data set corresponding to the test data, and generates a classification template based on the business scenari...

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 a method and device for generating test data, computer equipment and a storage medium. The method comprises the steps that a data set corresponding to test data is acquired, a classification template is generated based on a service scene corresponding to the data set, and the classification template comprises classification information; obtaining a service scene identifier corresponding to the classification information, respectively obtaining a field set and a combined field set corresponding to the service scene identifier, and obtaining a scene template; a corresponding relation between the classification template and the scene template is established, the classification template and the scene template are combined according to the corresponding relation, a target template is obtained, and the target template comprises classification information and a to-be-filled field; when a test data generation instruction is received, test data are generated according to the to-be-filled fields, and the test data correspond to the classification information. By adopting the method, the classification template, the scene template and the field combination can be shared, the dependence of workers on professional business personnel is simplified, the preprocessing efficiency of the test data is improved, and the test efficiency is further improved.

Description

technical field [0001] The present application relates to the technical field of software testing, in particular to a method, device, computer equipment and storage medium for generating test data. Background technique [0002] With the development of software testing technology, software testing technology has emerged, and software testing is based on test data. Testers need to prepare a large amount of test data during the testing process, and use these prepared test data to test various businesses, and most testers have limited knowledge and cannot understand the processes of all businesses in the world, so the data of cross-business systems When preparing, assistance from other business testers is required, and their respective data preparation scripts / operations cannot be shared. [0003] In traditional technologies, cross-domain test data is prepared manually, and respective data preparation scripts / operations cannot be shared. At the same time, because developers, U...

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/36
CPCG06F11/3684
Inventor 刘涛张红张飞高希洋纳颖泉刘伟
Owner 招联消费金融股份有限公司
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