发明名称 Streamlining Unit Testing Through Hot Code Swapping
摘要 Methods and systems are described for testing methods and other functions by swapping external functions for mock functions. A test case definition is entered by a programmer, which can specify the expected number of arguments and argument values of external function or method calls, the context state, the return value, and any expected error conditions. The test case definition is used by a function tester to automatically create mock functions, modify the target function so that it calls the mock functions, execute the target function with specified arguments and a test context, and then compare the results to expected results.
申请公布号 US2012084754(A1) 申请公布日期 2012.04.05
申请号 US20100894900 申请日期 2010.09.30
申请人 ZIEGLER LEO;HARDY VINCENT J.;ORACLE INTERNATIONAL CORPORATION 发明人 ZIEGLER LEO;HARDY VINCENT J.
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址