Petr Volobuev | Technology RadarPetr Volobuev | Technology Radar
Using

Locked in xUnit as the primary test framework for all .NET projects. Advantages over MSTest and NUnit:

  • no [TestInitialize] and [TestCleanup] — constructor and IDisposable instead, which is closer to regular C# code
  • IClassFixture and ICollectionFixture give flexible control over shared state
  • integrates well with the .NET CLI and GitLab CI

We use it together with Moq for unit tests, plus separate integration tests against a real DB.