主权项 |
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. |