xUnit.net is a free, open source, community-focused unit testing tool for the .NET Framework. Written by the original inventor of NUnit v2, xUnit.net is the latest technology for unit testing C#, F#, VB.NET and other .NET languages. xUnit.net works with ReSharper, CodeRush, TestDriven.NET and Xamarin. It is part of the .NET Foundation, and operates under their code of conduct. It is licensed under Apache 2 (an OSI approved license).
For project documentation, please visit the xUnit.net project home.
- New to xUnit.net? Get started with .NET Framework, .NET Core, and devices.
- Need some help building the source? See BUILDING.md.
- Want to contribute to the project? See CONTRIBUTING.md.
- Want to contribute to the assertion library? See the suggested contribution workflow in the assertion library project, as it is slightly more complex due to code being spread across two GitHub repositories.
Stable package | Latest CI package | Latest CI build | |
---|---|---|---|
v2 core framework | |||
v3 core framework (alpha docs) | N/A | ||
xunit.analyzers | |||
xunit.runner.devices | |||
xunit.runner.visualstudio |
For complete CI package lists, please visit the MyGet gallery and the Azure artifacts gallery.