xunit.assert
2.5.0-pre.44
Prefix Reserved
See the version list below for details.
Requires NuGet 2.12 or higher.
dotnet add package xunit.assert --version 2.5.0-pre.44
NuGet\Install-Package xunit.assert -Version 2.5.0-pre.44
<PackageReference Include="xunit.assert" Version="2.5.0-pre.44" />
paket add xunit.assert --version 2.5.0-pre.44
#r "nuget: xunit.assert, 2.5.0-pre.44"
// Install xunit.assert as a Cake Addin #addin nuget:?package=xunit.assert&version=2.5.0-pre.44&prerelease // Install xunit.assert as a Cake Tool #tool nuget:?package=xunit.assert&version=2.5.0-pre.44&prerelease
About xUnit.net
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 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.
- New to xUnit.net? Get started with .NET Framework and .NET Core.
- 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.
Latest Builds
<table> <thead> <tr> <th></th> <th>Stable</th> <th>Latest prerelease</th> <th>Latest CI</th> <th>CI status</th> </tr> </thead> <tbody> <tr> <th>v2 core framework</th> <td><a href="https://www.nuget.org/packages/xunit"><img src="https://img.shields.io/nuget/v/xunit.svg?logo=nuget"></a></td> <td><a href="https://www.nuget.org/packages/xunit/absoluteLatest"><img src="https://img.shields.io/nuget/vpre/xunit.svg?logo=nuget"></td> <td><a href="https://myget.org/feed/xunit/package/nuget/xunit"><img src="https://img.shields.io/myget/xunit/vpre/xunit.svg?label=myget&logo=nuget"></td> <td><a href="https://actions-badge.atrox.dev/xunit/xunit/goto?ref=v2"><img src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fxunit%2Fxunit%2Fbadge%3Fref%3Dv2&label=build"></td> <tr> <tr> <th>v3 core framework (<a href="https://xunit.net/docs/v3-alpha">alpha docs</a>)</th> <td>N/A</td> <td>N/A</td> <td><a href="https://myget.org/feed/xunit/package/nuget/xunit.v3"><img src="https://img.shields.io/myget/xunit/vpre/xunit.v3.svg?label=myget&logo=nuget"></td> <td><a href="https://actions-badge.atrox.dev/xunit/xunit/goto?ref=main"><img src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fxunit%2Fxunit%2Fbadge%3Fref%3Dmain&label=build"></td> <tr> <tr> <th>xunit.analyzers</th> <td><a href="https://www.nuget.org/packages/xunit.analyzers"><img src="https://img.shields.io/nuget/v/xunit.analyzers.svg?logo=nuget"></a></td> <td><a href="https://www.nuget.org/packages/xunit.analyzers/absoluteLatest"><img src="https://img.shields.io/nuget/vpre/xunit.analyzers.svg?logo=nuget"></a></td> <td><a href="https://myget.org/feed/xunit/package/nuget/xunit.analyzers"><img src="https://img.shields.io/myget/xunit/vpre/xunit.analyzers.svg?label=myget&logo=nuget"></a></td> <td><a href="https://actions-badge.atrox.dev/xunit/xunit.analyzers/goto?ref=main"><img src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fxunit%2Fxunit.analyzers%2Fbadge%3Fref%3Dmain&label=build"></a></td> </tr> <tr> <th>xunit.runner.visualstudio</th> <td><a href="https://www.nuget.org/packages/xunit.runner.visualstudio"><img src="https://img.shields.io/nuget/v/xunit.runner.visualstudio.svg?logo=nuget"></a></td> <td><a href="https://www.nuget.org/packages/xunit.runner.visualstudio/absoluteLatest"><img src="https://img.shields.io/nuget/vpre/xunit.runner.visualstudio.svg?logo=nuget"></a></td> <td><a href="https://myget.org/feed/xunit/package/nuget/xunit.runner.visualstudio"><img src="https://img.shields.io/myget/xunit/vpre/xunit.runner.visualstudio.svg?label=myget&logo=nuget"></a></td> <td><a href="https://actions-badge.atrox.dev/xunit/xunit.runner.visualstudio/goto?ref=main"><img src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fxunit%2Fvisualstudio.xunit%2Fbadge%3Fref%3Dmain&label=build"></a></td> </tr> </tbody> </table>
For complete CI package lists, please visit the MyGet gallery.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.1 is compatible. netstandard1.2 was computed. netstandard1.3 was computed. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 was computed. netstandard2.1 was computed. |
.NET Framework | net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Windows Phone | wpa81 was computed. |
Windows Store | netcore was computed. netcore45 was computed. netcore451 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.5.2
- No dependencies.
-
.NETStandard 1.1
- NETStandard.Library (>= 1.6.1)
NuGet packages (161)
Showing the top 5 NuGet packages that depend on xunit.assert:
Package | Downloads |
---|---|
xunit
xUnit.net is a developer testing framework, built to support Test Driven Development, with a design goal of extreme simplicity and alignment with framework features. Installing this package installs xunit.core, xunit.assert, and xunit.analyzers. |
|
Snapshooter.Xunit
Xunit Snapshooter is a flexible snapshot testing tool for .Net unit tests with Xunit. It creates and asserts snapshots (json) within Xunit unit tests. |
|
XunitContext
Extends xUnit to expose extra context and simplify logging. |
|
EfCore.TestSupport
Useful tools when unit testing applications that use Entity Framework Core. See readme file on github. |
|
Microsoft.CodeAnalysis.Testing.Verifiers.XUnit
Roslyn Test Verifiers for xUnit. |
GitHub repositories (289)
Showing the top 5 popular GitHub repositories that depend on xunit.assert:
Repository | Stars |
---|---|
AvaloniaUI/Avalonia
Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
|
|
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
|
|
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
|
|
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
|
|
dotnet/efcore
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
|
Version | Downloads | Last updated |
---|---|---|
2.9.2 | 2,690,647 | 9/27/2024 |
2.9.1 | 613,587 | 9/22/2024 |
2.9.0 | 10,169,779 | 7/8/2024 |
2.8.1 | 7,724,950 | 5/25/2024 |
2.8.0 | 4,685,261 | 4/27/2024 |
2.7.1 | 3,318,363 | 4/11/2024 |
2.7.0 | 11,031,086 | 2/16/2024 |
2.6.6 | 7,464,948 | 1/15/2024 |
2.6.5 | 2,074,628 | 1/5/2024 |
2.6.4 | 1,452,600 | 12/22/2023 |
2.6.3 | 2,325,154 | 12/9/2023 |
2.6.2 | 4,621,763 | 11/18/2023 |
2.6.1 | 3,982,760 | 11/2/2023 |
2.6.0 | 412,806 | 10/31/2023 |
2.5.3 | 6,346,632 | 10/16/2023 |
2.5.2 | 607,462 | 10/13/2023 |
2.5.2-pre.6 | 17,349 | 10/8/2023 |
2.5.2-pre.2 | 26,366 | 9/23/2023 |
2.5.1 | 4,012,670 | 9/18/2023 |
2.5.1-pre.33 | 9,193 | 9/10/2023 |
2.5.1-pre.26 | 24,315 | 9/2/2023 |
2.5.1-pre.20 | 54,513 | 8/7/2023 |
2.5.1-pre.12 | 45,675 | 7/21/2023 |
2.5.1-pre.11 | 2,011 | 7/21/2023 |
2.5.0 | 12,796,521 | 7/6/2023 |
2.5.0-pre.44 | 5,680 | 7/3/2023 |
2.5.0-pre.37 | 24,133 | 6/21/2023 |
2.5.0-pre.26 | 12,077 | 6/15/2023 |
2.5.0-pre.22 | 39,725 | 5/31/2023 |
2.5.0-pre.11 | 45,443 | 5/6/2023 |
2.4.2 | 94,208,861 | 8/1/2022 |
2.4.2-pre.27 | 39,354 | 7/24/2022 |
2.4.2-pre.12 | 996,435 | 10/3/2021 |
2.4.1 | 251,903,302 | 10/29/2018 |
2.4.1-pre.build.4071 | 22,733 | 10/7/2018 |
2.4.1-pre.build.4059 | 1,383,182 | 8/26/2018 |
2.4.0 | 59,078,143 | 7/17/2018 |
2.4.0-rc.2.build4045 | 6,217 | 7/13/2018 |
2.4.0-rc.1.build4038 | 23,976 | 7/2/2018 |
2.4.0-beta.2.build4010 | 278,761 | 5/29/2018 |
2.4.0-beta.1.build3958 | 201,072 | 2/12/2018 |
2.3.1 | 28,403,290 | 10/27/2017 |
2.3.1-rc2-build3844 | 17,861 | 10/20/2017 |
2.3.1-rc1-build3843 | 4,435 | 10/20/2017 |
2.3.0 | 3,300,071 | 10/6/2017 |
2.3.0-rc3-build3818 | 8,260 | 10/5/2017 |
2.3.0-rc2-build3812 | 5,925 | 10/4/2017 |
2.3.0-rc1-build3809 | 12,964 | 10/2/2017 |
2.3.0-beta5-build3769 | 284,962 | 9/1/2017 |
2.3.0-beta4-build3742 | 171,335 | 8/14/2017 |
2.3.0-beta3-build3705 | 209,265 | 6/8/2017 |
2.3.0-beta2-build3683 | 263,981 | 5/9/2017 |
2.3.0-beta1-build3642 | 146,784 | 4/6/2017 |
2.2.0 | 11,085,155 | 2/20/2017 |
2.2.0-rc4-build3536 | 8,716 | 2/18/2017 |
2.2.0-rc3-build3528 | 64,963 | 2/16/2017 |
2.2.0-rc2-build3523 | 19,220 | 2/13/2017 |
2.2.0-rc1-build3507 | 7,255 | 2/12/2017 |
2.2.0-beta5-build3474 | 517,113 | 1/16/2017 |
2.2.0-beta4-build3444 | 671,102 | 11/6/2016 |
2.2.0-beta3-build3402 | 106,705 | 10/5/2016 |
2.2.0-beta2-build3300 | 2,972,481 | 6/27/2016 |
2.2.0-beta1-build3239 | 74,116 | 12/20/2015 |
2.1.0 | 7,552,807 | 9/27/2015 |
2.1.0-rc2-build3176 | 13,773 | 9/20/2015 |
2.1.0-rc1-build3168 | 32,721 | 9/6/2015 |
2.1.0-beta4-build3109 | 30,053 | 8/5/2015 |
2.1.0-beta3-build3029 | 22,852 | 6/30/2015 |
2.1.0-beta2-build2981 | 17,583 | 5/3/2015 |
2.1.0-beta1-build2945 | 15,942 | 3/21/2015 |
2.0.0 | 1,721,995 | 3/16/2015 |
2.0.0-rc4-build2924 | 11,013 | 3/9/2015 |
2.0.0-rc3-build2880 | 53,318 | 2/23/2015 |
2.0.0-rc2-build2857 | 6,419 | 2/17/2015 |
2.0.0-rc1-build2826 | 12,792 | 1/20/2015 |
2.0.0-beta5-build2785 | 45,917 | 11/20/2014 |
2.0.0-beta4-build2738 | 19,589 | 8/10/2014 |
2.0.0-beta-build2700 | 5,945 | 6/30/2014 |
2.0.0-beta-build2650 | 8,293 | 4/29/2014 |
2.0.0-beta-build2616 | 5,516 | 3/22/2014 |
2.0.0-alpha-build2606 | 4,464 | 3/16/2014 |
2.0.0-alpha-build2595 | 4,724 | 3/9/2014 |
2.0.0-alpha-build2576 | 13,267 | 1/19/2014 |
2.0.0-alpha-build2569 | 4,241 | 1/17/2014 |
2.0.0-alpha-build2562 | 4,474 | 1/3/2014 |
2.0.0-alpha-build2552 | 4,287 | 12/8/2013 |
2.0.0-alpha-build2548 | 4,746 | 11/25/2013 |