Method and apparatus for proliferating testing data
AssigneeInternational Business Machines Corporation
InventorsJian dong Ding, Ning Duan, Guoqiang Hu, Sheng Huang, Jun Zhu
Life of this patent
Estimating the term…
Abstract
Embodiments of the present invention provide information processing systems and methods for proliferating testing data based on sample testing data. In one embodiment, a difference is determined by comparing a desired query result to a query result acquired by executing a query statement on sample testing data. Sample testing data can then be proliferated based, at least in part, on the difference and data generation constraint conditions.
Claims9
A computer program product for proliferating testing data, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor device to cause the processor device to perform a method comprising:
- acquiring a testing data requirement represented by a query statement and a desired query result;
- executing 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 a difference by comparing the desired query result and the real query result;
- and
- executing 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.
Dependencies are inferred from the claim text.