System and method for model based generation of application programming interface test code
AssigneeMicrosoft Corporation
InventorDavid Hefner
Life of this patent
Estimating the term…
Abstract
Systems and methods for model based generation of API test code are disclosed. A number of interfaces are employed to enable flexible and extensible visual representations of test parameter input data. One such interface may enable diagramming of a test model that depicts sequencing dependencies among a set of API's to be tested. The test model may be sliced into test cases in accordance with the sequencing dependencies and, for each test case, a linear sequence of API test code may be generated.
Claims20
A method for providing test code for testing an application programming interface, the method comprising:
- receiving a test model that depicts sequencing dependencies among a set of test functions;
- receiving a property sheet that defines argument configurations for the test functions;
- slicing the test model into test cases in accordance with the sequencing dependencies;
- and
- for each test case, generating a linear sequence of the test code in accordance with the argument configurations.
A system for providing test code for testing an application programming interface, the system comprising:
- a diagramming interface that enables a test model to be diagrammed, the test model depicting sequencing dependencies among a set of test functions;
- a second interface that enables a property sheet to be generated, the test property sheet defining argument configurations for the test functions;
- and
- a test code generator that receives the test model and the property sheet, slices the test model into test cases in accordance with the sequencing dependencies, and, for each test case, generates a linear sequence of the test code in accordance with the argument configurations.
A computer-readable medium having computer-executable instructions for performing steps comprising:
- receiving a test model that depicts sequencing dependencies among a set of test functions;
- receiving a property sheet that defines argument configurations for the functions that are used to test the application programming interface;
- slicing the test model into test cases in accordance with the sequencing dependencies;
- and
- for each test case, generating a linear sequence of the test code in accordance with the argument configurations.
Dependencies are inferred from the claim text.