Patent ID: 9317405
Filing Date: 2016-04-19
CPC Classification: G06F

Claim Text:
1. A method to generate test double proxies for callee functions of a function under test, the method comprising: generating an initial set of test double proxies with abstract test stubs for all callee functions called by a function under test, each of the test double proxies in the initial set of test double proxies corresponding to a different one of the callee functions; and generating a first refined set of test double proxies that includes a first refined test stub instead of a first one of the abstract test stubs for a first test double proxy in the initial set of test double proxies in response to determining that refining the first one of the abstract test stubs improves a test coverage of the function under test; wherein generating the initial set of test double proxies with the abstract test stubs for all the callee functions called by the function under test comprises, for each of the callee functions, generating: wherein the method further comprises iteratively refining a current set of test double proxies prior to generating an immediately subsequent refined set of test double proxies, wherein the current set of test double proxies includes the initial set of test double proxies or a refined set of test double proxies that precedes the immediately subsequent refined set of test double proxies; and wherein iteratively refining the current set of test double proxies prior to generating the immediately subsequent refined set of test double proxies comprises: