ReSharper 5.0 beta 可以在 VS2008 中使用 Gallio 运行测试吗?
昨天设置新机器时,我:
- 安装了 VS2008 没有测试支持(如果我需要使用 MSTest,我宁愿使用 Gallio 和 ReSharper)
- 安装了 ReSharper 5.0 beta
- 安装了 Gallio 3.1 update 2
ReSharper 没有查看我的任何 MbUnit 测试 - 空白处没有单元测试标记,并且运行所有测试不起作用。这些位的当前版本应该一起工作还是应该暂时返回到 ReSharper 4.5?
更新:我也尝试过“典型”VS2008 安装,得到了相同的结果。
When setting up a new machine yesterday I:
- Installed VS2008 without test support (I'd rather use Gallio and ReSharper if I need to use MSTest)
- Installed ReSharper 5.0 beta
- Installed Gallio 3.1 update 2
ReSharper doesn't see any of my MbUnit tests - there are no unit test markers in the margin and running all tests doesn't work. Should the current versions of these bits be working together or should I go back to ReSharper 4.5 for now?
Update: I have also tried a "typical" VS2008 installation with the same results.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Jeff Brown 刚刚发布了 Gallio 的更新,因此它应该可以与 ReSharper 5.0 Beta 配合使用:http://groups.google.com/group/gallio-dev/browse_thread/thread/7fd947efe4a8849e
Jeff Brown just released an update to Gallio so it should work with ReSharper 5.0 Beta: http://groups.google.com/group/gallio-dev/browse_thread/thread/7fd947efe4a8849e
Gallio 中似乎还没有 ReSharper 5.0 测试运行器,所以它无法工作。
It seems there is no ReSharper 5.0 test runner in Gallio yet, so it won't work.
我也遇到了同样的问题,但是 ReSharper 中的 ASP.NET MVC 东西非常好,我只是使用 TestDriven.NET 和 Icarus 来运行我的测试,直到 Gallio 添加对 ReSharper 测试运行程序的支持。
TestDriven.NET 适用于运行/调试单个测试,而 Icarus 适用于运行解决方案中的所有测试或项目。 Icarus 测试运行程序附带了 Gallio,我相信您已经知道了。
I had the same problem, but the ASP.NET MVC stuff in ReSharper is so nice that I'm just using TestDriven.NET and Icarus to run my tests until Gallio adds support for the ReSharper test runner.
TestDriven.NET works well for running/debugging individual tests, while Icarus works for running all tests in a solution or project. The Icarus test runner comes with Gallio which I'm sure you already know.