TestDriven.NET is not running my SetUp methods for MbUnit

♀尐吖头ヾ 提交于 2019-12-08 14:36:16

问题


I've created some MbUnit Test Fixtures that have SetUp methods marked with the SetUp attribute. These methods run before the tests just fine using the MbUnit GUI, the console runner, and the ReSharper MbUnit plugin. However, when I run the tests with TestDriven.NET it does not run the SetUp methods at all.

Does anyone know if this is a bug with TestDriven.NET or if I have something setup wrong?


回答1:


No longer an issue with recent versions of Gallio since v3.0.4. Just make sure to use the 64-bit installer.




回答2:


After having this problem for weeks on Vista 64, I found a post by Dave Bouwman just today, and it fixed this problem.




回答3:


I had this exact same issue after installing NUnit using nuget ... previously I had been using an older version of NUnit and everything had worked fine.

I think TestDriven is not compatible with the latest version of NUnit.

I've switched to using NCrunch, which is free, and compiles/runs tests in the backgound as you are coding, amongst other things. Highly recommended.



来源:https://stackoverflow.com/questions/3984/testdriven-net-is-not-running-my-setup-methods-for-mbunit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!