Test data generation and scale up for database testing using unique common factor sequencing
First Claim
1. A method for test data generation using unique common factor sequencing, the method comprising:
- loading a 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 table associated with a key to the table;
assigning different cardinality sequence values to the columns in the set, wherein the cardinality sequence values do not share a common factor except for unity;
generating data for a specified number of rows of each column in the column set according to a formula currentRowValue=((row_number−
1)% cardinality_value)+1;
additionally generating random data for other columns of the table without regard to any particular cardinality sequence value; and
persisting the table for use in database testing.
0 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the present invention provide a method for test data generation using unique common factor sequencing. In an embodiment of the invention, a method for test data generation using unique common factor sequencing is provided. The method includes loading a table for population with test data in a test data generation tool executing in memory of a computer. A column set of multiple columns in the table associated with a key to the table is selected for processing and different cardinality sequence values are assigned to the columns in the set such that the cardinality sequence values do not share a common factor except for unity as in the case of prime numbers.
-
Citations
6 Claims
-
1. A method for test data generation using unique common factor sequencing, the method comprising:
-
loading a 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 table associated with a key to the table; assigning different cardinality sequence values to the columns in the set, wherein the cardinality sequence values do not share a common factor except for unity; generating data for a specified number of rows of each column in the column set according to a formula currentRowValue=((row_number−
1)% cardinality_value)+1;additionally generating random data for other columns of the table without regard to any particular cardinality sequence value; and persisting the table for use in database testing. - View Dependent Claims (2, 3, 4, 5, 6)
-
Specification