在测试中,Mock Object(伪装对象)主要有两种功能,一种是像演员一样去模拟一个类,另一个功能则是像裁判一样裁决测试对这个模拟类进行的操作是否正确。
基于12个网页-相关网页
伪装对象
Camouflage object
以上为机器翻译结果,长、整句建议使用 人工翻译 。
这就是伪对象—一种用来伪装测试中对象的轻量型方式。
That's what a sham object is — a lightweight way to fake things out in your tests.
youdao
假面时代除了向人展示伪装后的美丽外表,有时还有可能成为网友恶搞的对象。
It may show others a man-made beautiful image but at the same time might become a target of online mock too.
应用推荐
模块上移
模块下移
不移动