I am using xUnit with the AutoFixture extension, plus a
NuGet package of my own that has a dependency on AutoFixture.
My custom package has a dependency on a previous version of AutoFixture, so I use a binding redirect in the app.config to rectify this. The project builds with no errors, and ReSharper can run the tests just fine. However, it seems that NCrunch can't run the project, as I get this error:
Quote:This test was not executed during a planned execution run. Ensure your test project is stable and does not contain issues in initialisation/teardown fixtures.
This is reproducible in a new project:
1. Search for the xUnit AutoFixture NuGet package and install it, which will install AutoFixture and xUnit
2. Set up a simple test e.g.
Code:
public class Class1
{
[Fact]
public void Pass()
{
Assert.True(true);
}
}
3. Observe that the test passes in NCrunch
4. Search for the AutoFixture Entity Framework extension authored by myself, and install it
5. Observe that the test suite now fails with the quoted message
I am not sure where to go from here in terms of debugging the issue, any help would be greatly appreciated!
Edit:
I forgot to mention that I am using
NCrunch version 1.46.0.20