⚠ Deprecated: Legacy
This package will only be updated for security issues. All future feature work has moved onto v3. Guide for migrating from xUnit.net v2 to v3: https://xunit.net/docs/getting-started/v3/migration
Suggested alternative: xunit.v3.assert.source
Includes the current assertion library from xUnit.net, as source into your project. Supports any platform(s) compatible with .NET Standard 1.1.
$ dotnet add package xunit.assert.sourcexUnit.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 Visual Studio, Visual Studio Code, ReSharper, CodeRush, and TestDriven.NET. 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.
| Stable | Latest prerelease | Latest CI | CI status | |
|---|---|---|---|---|
| v2 core framework | ||||
| v3 core framework (alpha docs) | N/A | N/A | ||
| xunit.analyzers | ||||
| xunit.runner.visualstudio |
For complete CI package lists, please visit the feedz.io package search.