xUnit

A popular .NET framework for writing and running automated tests.

What is xUnit in C#?

xUnit — A popular .NET framework for writing and running automated tests.

class OrderCalculatorTests
{
    [Fact]
    public void TotalsAnOrder()
    {
        int total = 3 * 4;
        Assert.Equal(12, total);
    }
}

Level: Freelancer · More C# terms at this level

Updated