We use TeamCity as our CI server, and I\'ve just started seeing \"TestFixtureSetUp Failed\"
in the test failure window.
Any idea how I go about debugging th
If you are using SpecFlow and C# in Visual Studio, look at the auto-generated
file after the test fails. On the public partial class
line, you should see a symbol which when hovered over will show the reason that the NUnit fixture setup failed. In my case, it was that some of my BeforeFeature
methods in my TestHooks
class were not static. All BeforeTestRun
, AfterTestRun
, BeforeFeature
, and AfterFeature
methods need to be static.