Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
在 帮助我开始”主题中 Google 上的 mockito 讨论组,mockito 的项目所有者 Szczepan Faber 建议:
我会看一下 Szczepan 的 博客 的 mockito 类别 。
In the "Help me to start" thread on the mockito discussion group on Google, Szczepan Faber, the project owner of mockito, suggests:
I'd take a look at the posts in the mockito category of Szczepan's blog too.
有关mock和mockito的概述,您可以参考Mockito-一个用于 Java 开发的伟大的模拟框架
For a overview about mock and mockito you can refer Mockito-a-great-mock-framework-for-Java-development
一个很好的简洁概述:http://www.javacodegeeks。 com/2012/05/mocks-and-stubs-understanding-test.html
另外,请仔细查看 API 中的 org.mockito.Mockito 类本身。大多数基本行为都保存在其中。
a nice succinct overview: http://www.javacodegeeks.com/2012/05/mocks-and-stubs-understanding-test.html
also, take a close look at the org.mockito.Mockito class itself in the API. most of the base behavior is held therein.