The NUnit 5 Guide: Constraint Model, TestCase/TestCaseSource, SetUp/OneTimeSetUp, Parallelism and 5.0 Breaking Changes for xUnit Users
In NUnit 5.0, [Platform("NET")] means modern .NET rather than .NET Framework: an old test that NUnit 4 always skipped on .NET 10 ran for the first time after the upgrade and exposed a real encoding bug in production. An xUnit mapping table, the shared fixture instance, Assert.That constraints, TestCase/TestCaseSource, SetUpFixture, parallelism, MTP and an upgrade from 4.6.1 to 5.0 with real build errors.
15 Nov 2026
·
13 min
·
5