Integrating templates into tests
First Claim
Patent Images
1. An apparatus having a processor, the apparatus comprising:
- a receiver configured to receive a test template, wherein the test template comprises a plurality of template instructions, wherein the plurality of template instructions comprise a source code template instruction, wherein the source code template instruction defines a source code command to be generated;
a test generator configured to generate a test in accordance with the test template received by said receiver, said test generator comprising;
an instruction generator configured to generate a first instruction based on a template instruction of the plurality of template instructions; and
a code generator configured to generate a second instruction based on the source code template instruction, wherein the second instruction is associated with the source code command,wherein said test generator is configured to manage shared resources used by the generated first instruction and the generated second instruction, andwherein said instruction generator and said code generator are configured to utilize a resource manager for allocating shared resources to be used by the generated first instruction and the generated second instruction.
1 Assignment
0 Petitions
Accused Products
Abstract
Test template may comprise a source code template instruction associated with source code commands. The source code template instruction is utilized in generation of a test. The generation of instructions associated with the source code template instruction takes into account utilization of shared resources by both the source code commands and by generated instructions that are generated by other template instructions.
-
Citations
21 Claims
-
1. An apparatus having a processor, the apparatus comprising:
-
a receiver configured to receive a test template, wherein the test template comprises a plurality of template instructions, wherein the plurality of template instructions comprise a source code template instruction, wherein the source code template instruction defines a source code command to be generated; a test generator configured to generate a test in accordance with the test template received by said receiver, said test generator comprising; an instruction generator configured to generate a first instruction based on a template instruction of the plurality of template instructions; and a code generator configured to generate a second instruction based on the source code template instruction, wherein the second instruction is associated with the source code command, wherein said test generator is configured to manage shared resources used by the generated first instruction and the generated second instruction, and wherein said instruction generator and said code generator are configured to utilize a resource manager for allocating shared resources to be used by the generated first instruction and the generated second instruction. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method for generating a test based on a test template, the method comprising:
-
receiving the test template, wherein the test template comprises a plurality of template instructions, wherein the plurality of template instructions comprise a source code template instruction, wherein the source code template instruction defines a source code command to be generated; generating the test based on the test template, said generating the test based on the test template comprises; generating a first instruction based on a first template instruction of the plurality of template instructions; generating a second instruction based on the source code template instruction, wherein the second instruction is associated with the source code command; and wherein said generating the first instruction and said generating the second instruction comprise; managing shared resources used by the generated first instruction and the generated second instruction, and utilizing a resource manager for allocating shared resources to be used by the generated first instruction and the generated second instruction; whereby the test template is transformed to the test. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19)
-
-
20. A computer program product for generating a test based on a test template comprising:
-
a non-transitory computer readable medium; a first program instruction for receiving the test template, wherein the test template comprises a plurality of template instructions, wherein the plurality of template instructions comprise a source code template instruction, wherein the source code template instruction defines a source code command to be generated; a second program instruction for generating the test based on the test template, said second program instruction comprises; a third program instruction for generating a first instruction based on a first template instruction of the plurality of template instructions; and a fourth program instruction for generating a second instruction based on the source code template instruction, wherein the second instruction is associated with the source code command, wherein said third and fourth program instructions comprise a fifth program instruction for managing shared resources used by the generated first instruction and the generated second instruction, and allocating shared resources to be used by the generated first instruction and the generated second instruction, and wherein said first, second, third, fourth and fifth program instructions are stored on said non-transitory computer readable medium. - View Dependent Claims (21)
-
Specification