hello,
I've got a small suite of BDD tests, for an Aspnetcore server connecting to a RavenDb database. The tests work fine under Visual Studio and the dotnet cli, and will pass under NCrunch when first run. Under NCrunch however, the tests will quickly start failing, with the RavenDb server timing out, even without code changes (I'm not sure what else is going to prompt the tests to be re-run).
As far as I can work out, this is typically a symptom of tests running in parallel, and the test context not being disposed of correctly, which can then overload the RavenDbTestDriver. Is there a way I can get NCrunch to recognize that Reqnroll tests should be run in sequence, and ensure that I am disposing of things correctly after each test?
I have made use of the ExclusivelyUses attribute for non-Reqnroll tests, which seems to work well there, but does not seem to have an effect on Reqnroll.
I am using Reqnroll 2.3.0 + NUnit 4.3.2 + RavenDB.TestDriver 7.0.0 + Microsoft.AspNetCore.Mvc.Testing 9.0.2