Computer program test configurations with data containers and test scripts
First Claim
1. A method for testing a computer program, comprising:
- receiving a test configuration, the test configuration having an associated test script and having one or more associated data containers;
where each data container defines a set of parameters and one or more sets of variants, each set of variants specifying a value for each of the parameters in the set of parameters, and where each data container is reusable with multiple test configurations;
where the test script has a set of test parameters and the test configuration further has a set of test parameter variants, each of the test parameter variants being a set of values for respective test parameters in the set of test parameters, and where the test parameter variants include one or more references for obtaining data values from one or more of the associated data containers;
executing the test script to test a computer program, the test script being executed for each of the test parameter variants in the set of test parameter variants.
3 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatus, including computer program products, providing a test configuration having an associated test script and one or more associated data containers. Each data container defines a set of parameters and one or more sets of variants, each set of variants specifying a value for each of the parameters in the set of parameters. Each data container is reusable with multiple test configurations. The test script has a set of test parameters and the test configuration further has a set of test parameter variants, each of the test parameter variants being a set of values for respective test parameters in the set of test parameters. The test parameter variants include one or more references for obtaining data values from one or more of the associated data containers.
48 Citations
22 Claims
-
1. A method for testing a computer program, comprising:
-
receiving a test configuration, the test configuration having an associated test script and having one or more associated data containers;
where each data container defines a set of parameters and one or more sets of variants, each set of variants specifying a value for each of the parameters in the set of parameters, and where each data container is reusable with multiple test configurations;
where the test script has a set of test parameters and the test configuration further has a set of test parameter variants, each of the test parameter variants being a set of values for respective test parameters in the set of test parameters, and where the test parameter variants include one or more references for obtaining data values from one or more of the associated data containers;
executing the test script to test a computer program, the test script being executed for each of the test parameter variants in the set of test parameter variants. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
obtaining computer program information identifying the actual version of the computer program as installed on the computer system; and
selecting a test script based on the actual version of the computer program.
-
-
7. The method of claim 6, further comprising:
obtaining the computer program information from meta-data installed on the computer system.
-
8. The method of claim 7, wherein the meta-data was generated by a build process building the computer program.
-
9. The method of claim 8, wherein the meta-data was installed on the computer system by an install process installing the computer program on the computer system.
-
10. The method of claim 6, further comprising:
obtaining the computer program information from the computer program on the computer system.
-
11. The method of claim 6, wherein the test configuration has associated with it information specifying with which computer program versions the test configuration is suitable for use.
-
12. A computer program product, tangibly embodied in an information carrier, for storing instructions for testing a computer program, the computer program product being operable to cause data processing apparatus to:
-
receive a test configuration, the test configuration having an associated test script and having one or more associated data containers;
where each data container defines a set of parameters and one or more sets of variants, each set of variants specifying a value for each of the parameters in the set of parameters, and where each data container is reusable with multiple test configurations;
where the test script has a set of test parameters and the test configuration further has a set of test parameter variants, each of the test parameter variants being a set of values for respective test parameters in the set of test parameters, and where the test parameter variants include one or more references for obtaining data values from one or more of the associated data containers;
execute the test script to test a computer program, the test script being executed for each of the test parameter variants in the set of test parameter variants. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
obtain computer program information identifying the actual version of the computer program as installed on the computer system; and
select a test script based on the actual version of the computer program.
-
-
18. The computer program product of claim 17, further comprising instructions to:
obtain the computer program information from meta-data installed on the computer system.
-
19. The computer program product of claim 18, wherein the meta-data was generated by a build process building the computer program.
-
20. The computer program product of claim 19, wherein the meta-data was installed on the computer system by an install process installing the computer program on the computer system.
-
21. The computer program product of claim 17, further comprising instructions to:
obtain the computer program information from the computer program on the computer system.
-
22. The computer program product of claim 17, wherein the test configuration has associated with it information specifying with which computer program versions the test configuration is suitable for use.
Specification