ReSharper 单元测试运行程序是按顺序运行测试还是与 MbUnit 并行运行测试?
ReSharper 单元测试运行程序是否按顺序或并行运行测试(然后,每个测试都在单独的线程中)?我正在使用 MBUnit 测试框架。
Does the ReSharper unit test runner run tests sequentially or in parallel (and then, is each test in a separate thread)? I am using MBUnit test framework.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
VS2008 + R# 4.5 并行运行测试,前提是您使用 MbUnit 的 Parallelizable 属性将它们标记为并行。如果不这样做,它们将按顺序运行。无论哪种方式,它都不会在不同的线程中同时运行所有测试,因为这会降低测试性能,而是使用有限的线程池。
VS2008 + R# 4.5 runs tests in parallel provided that you mark them as such with MbUnit's Parallelizable attribute. If you don't, they will be run sequentially. Either way, it won't run all your tests at once in different threads since that would kill test performance, but rather uses a limited thread pool.
它依次进行。 (使用 R# 4.0 和 VS 2008)
It does so sequentailly. (using R# 4.0 with VS 2008)