Patent ID: 7493597

Claim:
A computer implement 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 as a set of paths; 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, each test case corresponding to one of the paths depicted in the test model; for each test case, generating a linear sequence of the test code in accordance with the argument configurations; generating a test plan that describes how the test code will be implemented to test the application programming interface; receiving an indication of whether the test plan is satisfactory; if the test plan is satisfactory, then generating the test code; and if the test plan is not satisfactory, receiving at least one of an updated test model and an updated property sheet; and generating the test code in accordance with at least one of the updated test model and the updated property sheet.