发明名称 TEST DOUBLE GENERATION
摘要 A method to generate test double proxies for callee functions of a function under test may include generating an initial set of test double proxies with abstract test stubs for all callee functions called by the function under test. Each of the test double proxies in the initial set of test double proxies may correspond to a different one of the callee functions. The method may also include 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.
申请公布号 US2015220424(A1) 申请公布日期 2015.08.06
申请号 US201414170208 申请日期 2014.01.31
申请人 FUJITSU LIMITED 发明人 YOSHIDA Hiroaki
分类号 G06F11/36 主分类号 G06F11/36
代理机构 代理人
主权项 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.
地址 Kawasaki-shi JP