我可以将 MbUnit gui 与 Moles 测试一起使用吗?

发布于 2024-09-15 15:16:46 字数 222 浏览 3 评论 0原文

我想设置我们的单元测试来使用 Moles——主要是这样我们就不会在不需要接口的地方编写大量接口。好吧,这部分是有争议的,但这是我们团队关心的问题。

为此,我们正在调查鼹鼠。鼹鼠很聪明。 Pex 很漂亮。问题是,如果我们构建一个使用 Moles 的单元测试,突然我们无法在 Gallio Icarus (MbUnit gui) 中运行它。有没有办法让伊卡洛斯明白鼹鼠是测试的一部分?

I'd like to set up our unit tests to use Moles -- mostly so we don't write a lot of interfaces in places that don't call for interfaces. Ok, that part is debatable but it is a concern on our team.

To that end, we're investigating Moles. Moles is nifty. Pex is nifty. The issue is that if we build a unit test that uses Moles, suddenly we can't run it in Gallio Icarus (MbUnit gui). Is there a way to pull this off and get Icarus to understand that Moles is part of the test?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文