Build/Test Issues

NCrunch is unable to safely execute tests in this assembly because it contains unstable test generat

Started by luiz4our on 1,686 views

NCrunch is unable to safely execute tests in this assembly because it contains unstable test generation. A previous discovery run over this assembly returned 518 test cases, but when preparing NUnit to execute tests, there are now 0 test cases. Usually this is caused by generating tests using TestCaseSource using random, inconsistent or otherwise unstable data.


Cleared all TestCaseSource and ValueSource.
Thanks for sharing this problem.

For this to occur, something must have gone horribly wrong inside NUnit's discovery run.

Is this happening for you consistently? Is it something you can reproduce in a sample project that you can share with me?

Post a reply

Log in to reply.