NCrunch is great but as soon as I implement a class decorated with the SetUpFixtureAttribute including a method decorated with the SetUpAttribute all markers everywhere go black even though NCrunch Processing Queue and NCrunch Tests still execute the tests with "Passed".
[SetUpFixture]
public class GlobalFixture
{
[SetUp]
public void GlobalSetUp()
{
//Whatever code
}
}
Thanks for sending through the bug report. I'm curious - do the tests work correctly if you turn off the SetupFixture? I'm actually quite amazed that NCrunch is getting as far as trying to run your tests, as right now Silverlight isn't on the list of platforms supported by NCrunch.
I am having the same issue. I have a SetupFixture which has to setup certain things for integration tests to work, but NCrunch doesn't appear to be running the setup (ReSharper, TestRunner.NET and NUnit GUI / Console do). I am running the latest release (1.40). Any ideas what could still be wrong?
Up until now, I haven't heard reports of this problem resurfacing. Can you provide any details of how you are using SetupFixture? Note that NCrunch will never show code coverage inside the SetupFixture code as it has no active test to associate them with.
Oops your right, NCrunch wasn't wrong. I had test data in the project, but didn't include it in the visual studio project so it wasn't making it to the NCrunch output directory. So just a mistake on myside. Thanks for a great product!