×

Test data generation and scale up for database testing using unique common factor sequencing

  • US 10,346,380 B2
  • Filed: 09/19/2015
  • Issued: 07/09/2019
  • Est. Priority Date: 12/30/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method for test data generation using unique common factor sequencing, the method comprising:

  • loading a first table for population with test data in a test data generation tool executing in a memory of a computer;

    selecting a column set of multiple columns in the first table associated with a key to the first table;

    assigning different cardinality sequence values to each column in the column set of multiple columns, wherein the cardinality sequence values do not share a common factor except for unity and each cardinality sequence value indicates a number of values in a sequence before the sequence repeats;

    generating data for a specified number of rows of each column in the column set of multiple columns according to a corresponding one of the cardinality sequence values;

    additionally generating random data for other columns of the first table without regard to any particular cardinality sequence value;

    scaling up the first table to a new table of an original upper portion and an added lower portion by continuing into the added lower portion of the new table a sequence for each column in the column set of multiple columns based upon corresponding ones of the cardinality sequence values and based upon computing values of rows for each column in the column set of multiple columns in the added lower portion of the new table according to a formula;


    modifiedRowValue=(L+V−

    1%R)+1,where L is a last value in the first table for the column, V is an existing value for a row of the column in the new table, and R is a range for the column in the new table, while duplicating data in the other columns of the first table in the added lower portion of the new table; and

    persisting the first table for use in database testing.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×