Rhino Mocks 分步教程

发布于 2025-01-07 04:14:13 字数 515 浏览 6 评论 0原文

我意识到有一些帖子,例如 这个 提出了同样的问题。但是,建议页面上的链接不起作用(它只是将我带回到博客主页)。

我正在寻找一个没有任何假定的先前 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

那小子欠揍 2025-01-14 04:14:13

我认为最好的链接都是最新的,并且从基础开始是:

  1. Rhino Mocks 入门 (AAA)
  2. 使用 Rhino.Mocks - 生成快速指南模拟和存根

I think the best links, which are both up to date, and starting from the basics are:

  1. Getting Started with Rhino Mocks (AAA)
  2. Using Rhino.Mocks - quick guide to generating mocks and stubs
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文