FluentAssertions 5.8.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package FluentAssertions --version 5.8.0                
NuGet\Install-Package FluentAssertions -Version 5.8.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FluentAssertions" Version="5.8.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FluentAssertions --version 5.8.0                
#r "nuget: FluentAssertions, 5.8.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install FluentAssertions as a Cake Addin
#addin nuget:?package=FluentAssertions&version=5.8.0

// Install FluentAssertions as a Cake Tool
#tool nuget:?package=FluentAssertions&version=5.8.0                

A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or
     BDD-style unit tests. Targets .NET Framework 4.5 and 4.7, as well as .NET Core 2.0, .NET Core 3.0, .NET Standard 1.3, 1.6 and 2.0.
     Supports the unit test frameworks MSTest, MSTest2, Gallio, NUnit, XUnit, MBUnit, MSpec, and NSpec.

Product 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 is compatible.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 is compatible.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 is compatible.  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. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (545)

Showing the top 5 NuGet packages that depend on FluentAssertions:

Package Downloads
FluentAssertions.Json

Fluent Assertions extensions for Newtonsoft.Json

Akka.TestKit

You need a Akka.TestKit.* package! Add the one appropriate for the test framework you use instead. For example: Akka.TestKit.Xunit or Akka.TestKit.VsTest. This package only contains base functionality for writing tests for the Akka.NET framework.

FluentValidation.Validators.UnitTestExtension

A unit test library for .NET that allows you to build tests for FluentValidation rules in easy way.

FluentAssertions.Web

This is a FluentAssertions extension over the HttpResponseMessage object. It provides assertions specific to HTTP responses and outputs rich erros messages when the tests fail, so less time with debugging is spent.

FluentAssertions.AspNetCore.Mvc

Fluent Assertions extensions for ASP.NET Core MVC.

GitHub repositories (843)

Showing the top 5 popular GitHub repositories that depend on FluentAssertions:

Repository Stars
DevToys-app/DevToys
A Swiss Army knife for developers.
icsharpcode/ILSpy
.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
jasontaylordev/CleanArchitecture
Clean Architecture Solution Template for ASP.NET Core
ardalis/CleanArchitecture
Clean Architecture Solution Template: A starting point for Clean Architecture with ASP.NET Core
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
Version Downloads Last updated
7.0.0-alpha.4 174,832 5/31/2024
7.0.0-alpha.3 675,136 10/26/2023
7.0.0-alpha.2 58,797 10/14/2023
7.0.0-alpha.1 155,972 8/28/2023
6.12.1 1,520,589 9/9/2024
6.12.0 51,487,401 8/23/2023
6.11.0 22,740,642 4/20/2023
6.10.0 15,708,893 2/11/2023
6.9.0 7,364,272 1/12/2023
6.8.0 17,408,598 10/22/2022
6.7.0 33,979,456 5/18/2022
6.6.0 9,587,034 4/3/2022
6.5.1 11,972,548 2/11/2022
6.5.0 296,913 2/10/2022
6.4.0 6,168,659 1/22/2022
6.3.0 4,213,154 1/1/2022
6.2.0 15,592,459 10/25/2021
6.1.0 10,822,247 8/22/2021
6.0.0 4,181,901 8/13/2021
6.0.0-beta0003 23,567 8/11/2021
6.0.0-beta0002 16,253 8/5/2021
6.0.0-beta0001 180,740 6/1/2021
6.0.0-alpha0002 468,865 1/7/2021
6.0.0-alpha0001 590,015 7/24/2020
5.10.3 84,855,749 3/21/2020
5.10.2 7,368,027 2/9/2020
5.10.0 6,036,641 1/2/2020
5.9.0 14,268,615 8/28/2019
5.8.0 2,058,506 8/9/2019
5.7.0 7,930,745 6/8/2019
5.6.0 13,930,714 1/11/2019
5.5.3 3,676,758 11/20/2018
5.5.1 305,191 11/16/2018
5.4.2 3,989,075 9/14/2018
5.4.1 6,312,622 6/20/2018
5.4.0 634,833 6/13/2018
5.3.2 988,679 5/30/2018
5.3.0 2,454,090 4/19/2018
5.2.0 1,792,718 3/15/2018
5.1.2 1,283,609 2/19/2018
5.1.1 223,578 2/14/2018
5.0.0 2,055,538 2/4/2018
4.19.4 9,124,477 8/24/2017
4.19.3 1,886,956 7/4/2017
4.19.2 4,413,778 3/8/2017
4.19.0 1,493,266 2/4/2017
4.18.0 2,121,703 12/4/2016
4.17.0 929,545 11/9/2016
4.16.0 386,854 10/26/2016
4.15.0 344,580 10/11/2016
4.14.0 1,149,164 9/5/2016
4.13.1 117,666 9/1/2016
4.13.0 583,674 8/2/2016
4.12.0 1,253,882 7/15/2016
4.11.0 302,438 7/6/2016
4.10.0 30,208 7/5/2016
4.9.1 248,907 6/23/2016
4.9.0 203,413 6/13/2016
4.8.0 113,629 6/7/2016
4.7.0 78,514 6/6/2016
4.6.3 387,125 5/24/2016
4.6.2 49,888 5/22/2016
4.6.1 149,109 5/13/2016
4.5.0 324,239 4/25/2016
4.4.0 233,502 4/17/2016
4.3.2 113,840 4/3/2016
4.3.1 10,388 4/1/2016
4.3.0 81,936 3/31/2016
4.2.2 754,889 2/5/2016
4.2.1 377,118 1/10/2016
4.2.0 215,995 1/8/2016
4.1.1 204,262 12/13/2015
4.1.0 449,938 11/24/2015
4.0.1 449,365 10/21/2015
4.0.0 796,725 8/24/2015
4.0.0-beta0001 6,442 8/7/2015
3.5.0 400,527 8/2/2015
3.4.1 380,321 7/3/2015
3.4.0 159,388 6/22/2015
3.3.0 1,043,896 2/18/2015
3.2.2 286,190 12/12/2014
3.2.1 572,564 9/11/2014
3.1.229 300,254 7/29/2014
3.0.107 387,175 4/30/2014
2.2.0 780,915 12/30/2013
2.1.0 310,253 8/23/2013
2.0.1 331,645 3/3/2013
2.0.0.1 169,937 10/15/2012
1.7.1.1 133,570 3/24/2012
1.7.0 33,334 1/13/2012
1.6.0 46,721 10/31/2011
1.5.0 37,598 6/29/2011
1.4.0 29,639 3/14/2011
1.3.0.1 232,537 1/15/2011