I just installed NCrunch v3.9.0.1 for Visual Studio 2017 (I was using 3.7.0.7 so far, I think), and some of my test suddenly started to fail on one of my projects.
It looks strange, but all the tests that fail have something in common :
- they are all XUnit [Theory] tests
- They use [MemberData] as the source of data for the parameterized tests.
The tests appear as failing, with the following output :
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.
Those tests run just fine in ReSharper's Test Runner, in Visual Studio Test Runner, and in a TFS Build.
I'll try posting more information, or hopefully a repro
Any help is appreciated.
--UPDATE-
I could reduce it to one failing simplified test ... and I have set it up as a github repository :
https://github.com/tsimb...runchStrangeFailingTest
-- UPDATE 2
I can confirm that my minimal repro works as expected after downgrading NCrunch back to v3.7.0.7