Rhino Mocks 分步教程
我意识到有一些帖子,例如 这个 提出了同样的问题。但是,建议页面上的链接不起作用(它只是将我带回到博客主页)。
我正在寻找一个没有任何假定的先前 Rhino Mocks 知识的教程。
我需要一个分步指南来解释基础知识(存根、模拟、expect.call)、Record()
、ReplayAll()
、< code>VerifyAll(),何时/为何使用 Repeat.Any()
等,有效。
在阅读了一些文档后,我有了一个粗略的理解(我发现一些文章很有用,但大多数充其量只是令人困惑),但我需要更多示例,详细说明如何使用 Rhino Mocks。
I realise that there exist some posts such as this one which have asked the same question. However, the links on the suggested page do not work (it simply takes me back to the blog homepage).
I'm looking for a tutorial which does not have any assumed prior Rhino Mocks knowledge.
I need a step-by-step guide which explains the basics (stubs vs. mocks vs. expect.call), how the Record()
, ReplayAll()
, VerifyAll()
, when/why you use Repeat.Any()
etc., work.
I have a rough understanding after reading some of the documentation (which I found some articles to be useful, but most to be confusing at best), but I need some more examples with detailed explanations on how to use Rhino Mocks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为最好的链接都是最新的,并且从基础开始是:
I think the best links, which are both up to date, and starting from the basics are: