Unit test framework for testing code in a gateway service
AssigneeInternational Business Machines Corporation
InventorsRahul S. Shinge, Eric Simon, Quinn Li
Life of this patent
Estimating the term…
Abstract
Aspects of the present invention provide an approach for integrated testing of gateway appliance software services. In an embodiment, a test request is received at a unit test framework installed on the gateway appliance. The unit test framework dynamically generates a set of stub code for processing the test request. This set of stub code executes target code (e.g., code that is being tested) of the software services. Results of the execution are verified to determine whether the code passes the test.
Claims20
A method for integrated testing of gateway appliance software services in a networked computing environment, comprising:
- receiving a test request at a unit test framework on a gateway appliance;
- dynamically generating, by the unit test framework, a set of stub code for processing the test request;
- executing target code of the software services using the set of stub code;
- and
- verifying a result of the execution of the target code.
A computer program product embodied in a computer readable medium that, when executed by a computer device, performs a method for integrated testing of gateway appliance software services in a networked computing environment, the method comprising:
- receiving a test request at a unit test framework on a gateway appliance;
- dynamically generating, by the unit test framework, a set of stub code for processing the test request;
- executing target code of the software services using the set of stub code;
- and
- verifying a result of the execution of the target code.
A computer system for integrated testing of gateway appliance software services in a networked computing environment, the computer system comprising:
- a hardware gateway, having a gateway appliance that controls the hardware gateway;
- a unit test framework installed in the gateway appliance;
- a memory medium comprising instructions;
- a bus coupled to the memory medium;
- and
- a processor coupled to the bus that when executing the instructions cause the system to:
- receive a test request at a unit test framework on a gateway appliance;
- dynamically generate, by the unit test framework, a set of stub code for processing the test request;
- execute target code of the software services using the set of stub code;
- and
- verify a result of the execution of the target code.
Dependencies are inferred from the claim text.