Patent ID: 9684740
Date: 2017-06-20
CPC Classifications: G06F

Claim:
1. A method for proliferating testing data, comprising: acquiring, using a processor device, a testing data requirement represented by a query statement and a desired query result; executing, using the processor device, the query statement on sample testing data to acquire a real query result, and recording intermediate results of respective query sub-operations during execution of the query statement; determining, using the processor device, a difference by comparing the desired query result and the real query result; and executing, using the processor device, respective data generation sub-operations corresponding to respective query sub-operations in an order that is reverse to an execution order of the query statement, and proliferating the sample testing data in the respective data generation sub-operations based on the difference, the intermediate results and data generation constraint conditions corresponding to respective fields in the sample testing data, wherein at least one of the data generation constraint conditions reflects a specific pattern of a corresponding field.