MbUnit 如何与 VS 2008 配合使用
我设置了 MbUnit,并一直尝试使用 MbUnit GUI 使其与 VS 2008 一起工作,但每次运行测试时它都会关闭,并且出现此程序需要关闭错误。
我在 Gallio 上也遇到了类似的问题,每次运行测试时都会出现跑步者异常。
我是否需要像 testDriven.Net 这样的 VS 插件才能使其正常工作?
I set up MbUnit and have been trying to get it to work with VS 2008 using the MbUnit GUI but every time I run a test it closes and I get a this program needs to close error.
I had a similar problem with Gallio where I got a runner exception every time I ran a test.
Do I need an addin for VS like testDriven.Net to get this to work?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
同样在这里。 TestDriven.Net 确实让事情变得顺利和简单。 右键单击测试并运行它...MBUnit 与该加载项集成良好。
Same here. TestDriven.Net really makes things slick and easy. Right-click on a test and run it... MBUnit integrates fine with that add-in.
您不需要 TestDriven.Net,但它确实有帮助。
当您说您使用 MBUnit GUI“但每次我运行测试时它都会关闭...”时,您的意思是 MBUnit 关闭还是 VS2008 关闭? 如果是 MBUnit,那么您的安装可能有问题。 如果是 VS2008,那么有些事情就很可疑,因为 MBunit 不应该导致 VS2008 崩溃。
我已经使用(尽管我已经停止并现在使用 NUnit)MBUnit 与 TestDriven.Net 和 VS2005 取得了巨大成功。
You don't need TestDriven.Net but it sure helps.
When you say you use the MBUnit GUI "but every time I run a test it closes..." do you mean that MBUnit closes or VS2008? If is MBUnit, then perhaps there is something wrong with your installation. If it is VS2008, then something is fishy since MBunit shouldn't cause VS2008 to crash.
I've used (though I've stopped and now use NUnit) MBUnit with TestDriven.Net and VS2005 with great success.
我推荐 testdriven.net 作为免费工具,并推荐 ReSharper 作为运行 MbUnit 测试的更好工具。
Gallio 测试运行不应该像那样崩溃,某个地方有问题。
I'd recommend testdriven.net for a free tool, and ReSharper as a better tool for running MbUnit tests.
The Gallio test running shouldn't be crashing on you like that, there is a problem somewhere.
我使用 Visual Studio 2008、ReSharper 4.1 和最新版本的 Gallio 的组合。 有了它,效果就很好了。
I'm using combination of Visual Studio 2008, ReSharper 4.1 and latest builds of Gallio. With that it works pretty well.