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 (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.

WireMock.Net.FluentAssertions

FluentAssertions extensions for WireMock.Net

GitHub repositories (846)

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

Repository Stars
microsoft/autogen
A programming framework for agentic AI 🤖
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
Version Downloads Last updated
7.0.0-alpha.4 197,024 5/31/2024
7.0.0-alpha.3 695,321 10/26/2023
7.0.0-alpha.2 59,242 10/14/2023
7.0.0-alpha.1 158,646 8/28/2023
6.12.1 2,277,187 9/9/2024
6.12.0 52,878,954 8/23/2023
6.11.0 22,945,538 4/20/2023
6.10.0 15,819,217 2/11/2023
6.9.0 7,419,887 1/12/2023
6.8.0 17,524,998 10/22/2022
6.7.0 34,172,969 5/18/2022
6.6.0 9,624,768 4/3/2022
6.5.1 12,038,414 2/11/2022
6.5.0 298,460 2/10/2022
6.4.0 6,199,279 1/22/2022
6.3.0 4,229,107 1/1/2022
6.2.0 15,675,551 10/25/2021
6.1.0 10,851,464 8/22/2021
6.0.0 4,232,837 8/13/2021
6.0.0-beta0003 23,684 8/11/2021
6.0.0-beta0002 16,274 8/5/2021
6.0.0-beta0001 181,257 6/1/2021
6.0.0-alpha0002 469,558 1/7/2021
6.0.0-alpha0001 591,114 7/24/2020
5.10.3 85,139,852 3/21/2020
5.10.2 7,405,585 2/9/2020
5.10.0 6,050,212 1/2/2020
5.9.0 14,300,581 8/28/2019
5.8.0 2,063,422 8/9/2019
5.7.0 7,941,274 6/8/2019
5.6.0 13,973,928 1/11/2019
5.5.3 3,681,437 11/20/2018
5.5.1 305,465 11/16/2018
5.4.2 3,996,137 9/14/2018
5.4.1 6,339,692 6/20/2018
5.4.0 636,323 6/13/2018
5.3.2 990,848 5/30/2018
5.3.0 2,457,661 4/19/2018
5.2.0 1,795,227 3/15/2018
5.1.2 1,285,063 2/19/2018
5.1.1 223,745 2/14/2018
5.0.0 2,062,274 2/4/2018
4.19.4 9,141,021 8/24/2017
4.19.3 1,890,437 7/4/2017
4.19.2 4,420,229 3/8/2017
4.19.0 1,495,271 2/4/2017
4.18.0 2,125,005 12/4/2016
4.17.0 930,732 11/9/2016
4.16.0 387,638 10/26/2016
4.15.0 345,334 10/11/2016
4.14.0 1,151,900 9/5/2016
4.13.1 118,001 9/1/2016
4.13.0 584,989 8/2/2016
4.12.0 1,267,041 7/15/2016
4.11.0 303,356 7/6/2016
4.10.0 30,292 7/5/2016
4.9.1 249,093 6/23/2016
4.9.0 203,815 6/13/2016
4.8.0 113,863 6/7/2016
4.7.0 78,569 6/6/2016
4.6.3 387,534 5/24/2016
4.6.2 49,918 5/22/2016
4.6.1 149,378 5/13/2016
4.5.0 324,768 4/25/2016
4.4.0 234,211 4/17/2016
4.3.2 114,449 4/3/2016
4.3.1 10,438 4/1/2016
4.3.0 82,056 3/31/2016
4.2.2 756,878 2/5/2016
4.2.1 377,339 1/10/2016
4.2.0 216,040 1/8/2016
4.1.1 204,538 12/13/2015
4.1.0 451,640 11/24/2015
4.0.1 449,969 10/21/2015
4.0.0 800,229 8/24/2015
4.0.0-beta0001 6,452 8/7/2015
3.5.0 401,299 8/2/2015
3.4.1 381,077 7/3/2015
3.4.0 160,099 6/22/2015
3.3.0 1,045,483 2/18/2015
3.2.2 286,540 12/12/2014
3.2.1 574,721 9/11/2014
3.1.229 300,692 7/29/2014
3.0.107 387,771 4/30/2014
2.2.0 783,139 12/30/2013
2.1.0 310,930 8/23/2013
2.0.1 332,244 3/3/2013
2.0.0.1 170,482 10/15/2012
1.7.1.1 133,770 3/24/2012
1.7.0 33,342 1/13/2012
1.6.0 46,966 10/31/2011
1.5.0 37,645 6/29/2011
1.4.0 29,654 3/14/2011
1.3.0.1 234,361 1/15/2011