TEST PROGRAM GENERATOR USING KEY ENUMERATION AND STRING REPLACEMENT
First Claim
1. A method for generating a test program, the method comprising:
- receiving a first seed file and a first configuration file;
iterating over one or more enumeration keys in the first configuration file;
for each enumeration key, applying to the first seed file one or more rules in the first configuration file keyed to the enumeration key, where applying such a rule comprises replacing in the first seed file one or more occurrences of a predicate value of the rule with a transformation value of the rule; and
outputting the modified first seed file as a test program.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method are provided for test program generation using key enumeration and string replacement. A system includes a test program generator and a tester. The tester receives a test program from the test program generator and tests one or more products according to the test program. The test program generator receives a seed file from a seed file database and a configuration file from a configuration file database. The test program generator iterates over enumeration keys in the configuration file and, for each key, apply to the seed file one or more rules in the configuration file keyed to the enumeration key. Applying a rule includes replacing in the seed file one or more occurrences of a predicate value of the rule with a transformation value of the rule. The test program generator also outputs to the tester the modified first seed file as the test program.
50 Citations
20 Claims
-
1. A method for generating a test program, the method comprising:
-
receiving a first seed file and a first configuration file; iterating over one or more enumeration keys in the first configuration file; for each enumeration key, applying to the first seed file one or more rules in the first configuration file keyed to the enumeration key, where applying such a rule comprises replacing in the first seed file one or more occurrences of a predicate value of the rule with a transformation value of the rule; and outputting the modified first seed file as a test program. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system comprising:
-
a test program generator; and a tester configured to receive a test program from the test program generator and test one or more products according to the test program, wherein the test program generator is configured to; receive from a seed file database a first seed file and from a configuration file database a first configuration file; iterate over one or more enumeration keys in the first configuration file; for each enumeration key, apply to the first seed file one or more rules in the first configuration file keyed to the enumeration key, where applying such a rule comprises replacing in the first seed file one or more occurrences of a predicate value of the rule with a transformation value of the rule; and output to the tester the modified first seed file as the test program. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
-
14. A non-transitory, computer readable medium storing instructions that, when executed by a processing system, cause the processing system to generate a test program, by performing the steps of:
-
receiving from a seed file database a first seed file and from a configuration file database a first configuration file; iterating over one or more enumeration keys in the first configuration file; for each enumeration key, applying to the first seed file one or more rules in the first configuration file keyed to the enumeration key, where applying such a rule comprises replacing in the first seed file one or more occurrences of a predicate value of the rule with a transformation value of the rule; and outputting the modified first seed file as a test program. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification