Includes the core library (xunit.v3.core.dll), to be used for writing tests; extensibility authors should include xunit.v3.extensibility.core instead. Includes support for Microsoft.Testing.Platform v1. Supports .NET Framework 4.7.2 or later and .NET 8 or later.
$ dotnet add package xunit.v3.coreIncludes the core library (xunit.v3.core.dll), to be used for writing tests; extensibility authors should include xunit.v3.extensibility.core instead. Includes support for Microsoft.Testing.Platform v1. Supports .NET Framework 4.7.2 or later and .NET 8 or later.
xUnit.net is a free, open source, community-focused unit testing tool for C#, F#, and Visual Basic. xUnit.net v3 supports .NET 8.0 or later, and .NET Framework 4.7.2 or later.
xUnit.net works with the .NET SDK command line tools, Visual Studio, Visual Studio Code, JetBrains Rider, NCrunch, and any development environment compatible with Microsoft Testing Platform or VSTest.
xUnit.net is part of the .NET Foundation and operates under their code of conduct. It is licensed under Apache 2 (an OSI approved license). The project is governed by a Project Lead.
For project documentation, please visit the xUnit.net project home.
| Latest stable | Latest CI (how to use) | Build status | |
|---|---|---|---|
xunit.v3 | |||
xunit | |||
xunit.analyzers | |||
xunit.runner.visualstudio |
For complete CI package lists, please visit the feedz.io package search. A free login is required.
Help support this project by becoming a sponsor through GitHub Sponsors.