xunit.assert 2.4.1 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved

.NET Standard 1.1
There is a newer prerelease version of this package available.
See the version list below for details.

Requires NuGet 2.12 or higher.

Install-Package xunit.assert -Version 2.4.1
dotnet add package xunit.assert --version 2.4.1
<PackageReference Include="xunit.assert" Version="2.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add xunit.assert --version 2.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: xunit.assert, 2.4.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install xunit.assert as a Cake Addin
#addin nuget:?package=xunit.assert&version=2.4.1

// Install xunit.assert as a Cake Tool
#tool nuget:?package=xunit.assert&version=2.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Includes the assertion library from xUnit.net (xunit.assert.dll). Supports .NET Standard 1.1.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Windows Phone wpa81
Windows Store netcore netcore45 netcore451
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (130)

Showing the top 5 NuGet packages that depend on xunit.assert:

Package Downloads
xunit The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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.


Xunit Snapshooter is a flexible snapshot testing tool for .Net unit tests with Xunit. It creates and asserts snapshots (json) within Xunit unit tests.

Verify.Xunit The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Enables verification of complex models and documents.


Useful tools when unit testing applications that use Entity Framework Core. See readme file on github.


Extends xUnit to expose extra context and simplify logging.

GitHub repositories (260)

Showing the top 5 popular GitHub repositories that depend on xunit.assert:

Repository Stars
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
A cross-platform UI framework for .NET
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
Incredibly simple real-time web for .NET
Version Downloads Last updated
2.4.2-pre.12 367,228 10/3/2021
2.4.1 137,762,386 10/29/2018
2.4.1-pre.build.4071 18,797 10/7/2018
2.4.1-pre.build.4059 1,369,035 8/26/2018
2.4.0 42,271,596 7/17/2018
2.4.0-rc.2.build4045 5,697 7/13/2018
2.4.0-rc.1.build4038 23,325 7/2/2018
2.4.0-beta.2.build4010 257,170 5/29/2018
2.4.0-beta.1.build3958 172,169 2/12/2018
2.3.1 21,918,628 10/27/2017
2.3.1-rc2-build3844 14,414 10/20/2017
2.3.1-rc1-build3843 1,231 10/20/2017
2.3.0 1,630,571 10/6/2017
2.3.0-rc3-build3818 5,086 10/5/2017
2.3.0-rc2-build3812 2,879 10/4/2017
2.3.0-rc1-build3809 9,255 10/2/2017
2.3.0-beta5-build3769 250,889 9/1/2017
2.3.0-beta4-build3742 160,493 8/14/2017
2.3.0-beta3-build3705 192,267 6/8/2017
2.3.0-beta2-build3683 256,294 5/9/2017
2.3.0-beta1-build3642 139,297 4/6/2017
2.2.0 8,867,257 2/20/2017
2.2.0-rc4-build3536 5,497 2/18/2017
2.2.0-rc3-build3528 55,538 2/16/2017
2.2.0-rc2-build3523 16,305 2/13/2017
2.2.0-rc1-build3507 4,134 2/12/2017
2.2.0-beta5-build3474 475,802 1/16/2017
2.2.0-beta4-build3444 658,924 11/6/2016
2.2.0-beta3-build3402 103,138 10/5/2016
2.2.0-beta2-build3300 2,955,990 6/27/2016
2.2.0-beta1-build3239 70,415 12/20/2015
2.1.0 5,632,848 9/27/2015
2.1.0-rc2-build3176 10,863 9/20/2015
2.1.0-rc1-build3168 28,621 9/6/2015
2.1.0-beta4-build3109 26,418 8/5/2015
2.1.0-beta3-build3029 19,387 6/30/2015
2.1.0-beta2-build2981 14,643 5/3/2015
2.1.0-beta1-build2945 12,823 3/21/2015
2.0.0 1,384,615 3/16/2015
2.0.0-rc4-build2924 5,362 3/9/2015
2.0.0-rc3-build2880 48,842 2/23/2015
2.0.0-rc2-build2857 3,608 2/17/2015
2.0.0-rc1-build2826 9,575 1/20/2015
2.0.0-beta5-build2785 41,410 11/20/2014
2.0.0-beta4-build2738 16,461 8/10/2014
2.0.0-beta-build2700 2,815 6/30/2014
2.0.0-beta-build2650 5,125 4/29/2014
2.0.0-beta-build2616 2,493 3/22/2014
2.0.0-alpha-build2606 1,299 3/16/2014
2.0.0-alpha-build2595 1,542 3/9/2014
2.0.0-alpha-build2576 9,954 1/19/2014
2.0.0-alpha-build2569 1,133 1/17/2014
2.0.0-alpha-build2562 1,281 1/3/2014
2.0.0-alpha-build2552 1,300 12/8/2013
2.0.0-alpha-build2548 1,544 11/25/2013