xUnit.net

xUnit.net is an open source unit testing framework for the .NET platform that is used to test projects written in F#, VB.NET, C#, and other .NET-compliant programming languages. xUnit.net was written by the inventor of Version 2 of NUnit and is licensed under Apache 2.

xUnit.net can be used to test traditional .NET platform applications, which includes console and ASP.NET applications, the UWP Application, mobile device applications, and .NET Core applications with ASP.NET Core inclusive.

Unlike in NUnit or MSTest, where the test class is decorated with TestFixture and TestClass attributes, respectively, the xUnit.net test class does not require attribute decoration. The framework automatically detects all test methods in all public ...

Get C# and .NET Core Test Driven Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.