I have several suites of integration tests implemented in C#/NUNit. Each test suite is a separate class, each fixture setup creates and populates a SQL Server database from
I don't know whether it is possible to prevent ReSharper from running tests in parallel; if not, the following hack might work: Create a static class with a static readonly Monitor
member. Then, in [TestFixtureSetUp]
, call Enter()
on the monitor, and call Exit()
on the monitor in [TestFixtureTearDown]
. That way, only one test fixture will be allowed to run at a time. Not pretty, though...