Using
Locked in xUnit as the primary test framework for all .NET projects. Advantages over MSTest and NUnit:
- no
[TestInitialize]and[TestCleanup]— constructor andIDisposableinstead, which is closer to regular C# code IClassFixtureandICollectionFixturegive 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.