FluentAssertions 6.12.1

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package FluentAssertions --version 6.12.1                
NuGet\Install-Package FluentAssertions -Version 6.12.1                
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="6.12.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FluentAssertions --version 6.12.1                
#r "nuget: FluentAssertions, 6.12.1"                
#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=6.12.1

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

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.7, .NET Core 2.1 and 3.0, .NET 6, as well as .NET Standard 2.0 and 2.1.
     Supports the unit test frameworks MSTest2, NUnit3, XUnit2, MSpec, and NSpec3.

     Supported by InfoSupport B.V.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  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 netcoreapp2.0 was computed.  netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 is compatible.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework 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 tizen40 was computed.  tizen60 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 (544)

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 (842)

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 154,828 5/31/2024
7.0.0-alpha.3 658,353 10/26/2023
7.0.0-alpha.2 58,379 10/14/2023
7.0.0-alpha.1 153,862 8/28/2023
6.12.1 936,443 9/9/2024
6.12.0 50,191,927 8/23/2023
6.11.0 22,552,085 4/20/2023
6.10.0 15,613,816 2/11/2023
6.9.0 7,316,487 1/12/2023
6.8.0 17,312,844 10/22/2022
6.7.0 33,812,808 5/18/2022
6.6.0 9,550,962 4/3/2022
6.5.1 11,915,389 2/11/2022
6.5.0 295,430 2/10/2022
6.4.0 6,138,897 1/22/2022
6.3.0 4,200,526 1/1/2022
6.2.0 15,521,677 10/25/2021
6.1.0 10,796,958 8/22/2021
6.0.0 4,140,937 8/13/2021
6.0.0-beta0003 23,492 8/11/2021
6.0.0-beta0002 16,236 8/5/2021
6.0.0-beta0001 180,230 6/1/2021
6.0.0-alpha0002 468,155 1/7/2021
6.0.0-alpha0001 589,014 7/24/2020
5.10.3 84,631,955 3/21/2020
5.10.2 7,332,964 2/9/2020
5.10.0 6,023,786 1/2/2020
5.9.0 14,238,199 8/28/2019
5.8.0 2,054,513 8/9/2019
5.7.0 7,921,146 6/8/2019
5.6.0 13,900,979 1/11/2019
5.5.3 3,672,877 11/20/2018
5.5.1 304,946 11/16/2018
5.4.2 3,981,987 9/14/2018
5.4.1 6,288,158 6/20/2018
5.4.0 633,525 6/13/2018
5.3.2 986,485 5/30/2018
5.3.0 2,451,228 4/19/2018
5.2.0 1,789,885 3/15/2018
5.1.2 1,282,358 2/19/2018
5.1.1 223,342 2/14/2018
5.0.0 2,049,740 2/4/2018
4.19.4 9,108,759 8/24/2017
4.19.3 1,883,852 7/4/2017
4.19.2 4,408,303 3/8/2017
4.19.0 1,491,714 2/4/2017
4.18.0 2,118,499 12/4/2016
4.17.0 928,474 11/9/2016
4.16.0 386,169 10/26/2016
4.15.0 344,058 10/11/2016
4.14.0 1,146,830 9/5/2016
4.13.1 117,314 9/1/2016
4.13.0 582,636 8/2/2016
4.12.0 1,246,546 7/15/2016
4.11.0 301,890 7/6/2016
4.10.0 30,051 7/5/2016
4.9.1 248,714 6/23/2016
4.9.0 202,597 6/13/2016
4.8.0 113,481 6/7/2016
4.7.0 78,453 6/6/2016
4.6.3 386,707 5/24/2016
4.6.2 49,862 5/22/2016
4.6.1 148,857 5/13/2016
4.5.0 323,796 4/25/2016
4.4.0 232,941 4/17/2016
4.3.2 113,481 4/3/2016
4.3.1 10,356 4/1/2016
4.3.0 81,896 3/31/2016
4.2.2 753,172 2/5/2016
4.2.1 376,918 1/10/2016
4.2.0 215,973 1/8/2016
4.1.1 203,967 12/13/2015
4.1.0 448,712 11/24/2015
4.0.1 448,802 10/21/2015
4.0.0 793,381 8/24/2015
4.0.0-beta0001 6,415 8/7/2015
3.5.0 400,031 8/2/2015
3.4.1 379,651 7/3/2015
3.4.0 158,911 6/22/2015
3.3.0 1,042,590 2/18/2015
3.2.2 285,805 12/12/2014
3.2.1 570,816 9/11/2014
3.1.229 299,771 7/29/2014
3.0.107 386,533 4/30/2014
2.2.0 779,195 12/30/2013
2.1.0 309,755 8/23/2013
2.0.1 331,128 3/3/2013
2.0.0.1 169,405 10/15/2012
1.7.1.1 133,335 3/24/2012
1.7.0 33,321 1/13/2012
1.6.0 46,511 10/31/2011
1.5.0 37,542 6/29/2011
1.4.0 29,624 3/14/2011
1.3.0.1 231,208 1/15/2011