我可以将 MbUnit gui 与 Moles 测试一起使用吗?
我想设置我们的单元测试来使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
http: //geekswithblogs.net/thomasweller/archive/2010/04/28/mocking-the-unmockable-using-microsoft-moles-with-gallio.aspx
http://geekswithblogs.net/thomasweller/archive/2010/04/28/mocking-the-unmockable-using-microsoft-moles-with-gallio.aspx