xUnit
Unit testing framework.
What is xUnit
xUnit is the de-facto test framework for .NET — tests are methods marked [Fact] or [Theory].
Install
dotnet add package xunitUsage
public class MathTests {
[Theory]
[InlineData(2, 3, 5)]
public void Adds(int a, int b, int sum) => Assert.Equal(sum, a + b);
}Docs
Official documentation: xUnit.