Allow projects to marked as no parallel execution
We have an integration test that has a setup task that get runs once before the tests execute to create and teardown the integration test database.
The problem with the way NCrunch executes is we get multiple instances of the database continually created (they have GUIDs in the name so they don't clash) but ideally I'd just like to be able to mark the integration test project to run all the tests in a single thread so the NUnit SetupFixture doesn't get run multiple times ... or if the are going to run in multiple threads to stop the reentrance to the SetUpFixture once it has already run.
-
This is actually already possible. Just place an NCrunch.Framework.ExclusivelyUsesAttribute at assembly-level of the test project. This will apply a concurrency constraint to all tests in the project, so none of them will run in parallel with each other.