mock out
动词 v.
英文释义
动词 v.
-
To replace (source code or other software elements) with a stub that exhibits the desired behaviour, typically for use in automated testing.
— Now that we know we have mocked out the objects and verified that the method we expected was called, we are ready to write a unit test.
0 次浏览
数据来源: Wiktionary