FluentAssertions 4.6.2

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

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

A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or
     BDD-style unit test. Runs on 4.0 and 4.5 (Desktop and Windows Store), CoreCLR, Silverlight 5 and Windows Phone 8, 8.1 and 8.1 for Silverlight. Supports the unit test frameworks NUnit, XUnit, XUnit2, MBUnit, Gallio, MSpec, and NSpec.

Product Compatible and additional computed target framework versions.
.NET net6.0-android was computed.  net7.0-android was computed.  net8.0-android was computed. 
.NET Framework net40 is compatible.  net403 was computed.  net45 is compatible.  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. 
.NETPlatform dotnet is compatible. 
MonoAndroid monoandroid is compatible. 
MonoTouch monotouch is compatible. 
Silverlight sl5 is compatible. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Windows Phone wp8 is compatible.  wp81 was computed.  wpa81 is compatible. 
Windows Store win81 is compatible. 
Xamarin.iOS xamarinios is compatible. 
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 169,610 5/31/2024
7.0.0-alpha.3 670,760 10/26/2023
7.0.0-alpha.2 58,723 10/14/2023
7.0.0-alpha.1 155,525 8/28/2023
6.12.1 1,375,509 9/9/2024
6.12.0 51,156,840 8/23/2023
6.11.0 22,692,015 4/20/2023
6.10.0 15,682,565 2/11/2023
6.9.0 7,352,446 1/12/2023
6.8.0 17,385,379 10/22/2022
6.7.0 33,938,239 5/18/2022
6.6.0 9,577,567 4/3/2022
6.5.1 11,958,110 2/11/2022
6.5.0 296,547 2/10/2022
6.4.0 6,161,704 1/22/2022
6.3.0 4,209,944 1/1/2022
6.2.0 15,574,361 10/25/2021
6.1.0 10,815,601 8/22/2021
6.0.0 4,172,378 8/13/2021
6.0.0-beta0003 23,529 8/11/2021
6.0.0-beta0002 16,253 8/5/2021
6.0.0-beta0001 180,663 6/1/2021
6.0.0-alpha0002 468,694 1/7/2021
6.0.0-alpha0001 589,774 7/24/2020
5.10.3 84,800,776 3/21/2020
5.10.2 7,358,072 2/9/2020
5.10.0 6,033,578 1/2/2020
5.9.0 14,261,630 8/28/2019
5.8.0 2,057,510 8/9/2019
5.7.0 7,928,341 6/8/2019
5.6.0 13,923,561 1/11/2019
5.5.3 3,675,871 11/20/2018
5.5.1 305,131 11/16/2018
5.4.2 3,987,304 9/14/2018
5.4.1 6,306,285 6/20/2018
5.4.0 634,535 6/13/2018
5.3.2 988,166 5/30/2018
5.3.0 2,453,373 4/19/2018
5.2.0 1,792,157 3/15/2018
5.1.2 1,283,336 2/19/2018
5.1.1 223,514 2/14/2018
5.0.0 2,054,277 2/4/2018
4.19.4 9,120,857 8/24/2017
4.19.3 1,886,238 7/4/2017
4.19.2 4,412,573 3/8/2017
4.19.0 1,492,968 2/4/2017
4.18.0 2,120,893 12/4/2016
4.17.0 929,257 11/9/2016
4.16.0 386,706 10/26/2016
4.15.0 344,449 10/11/2016
4.14.0 1,148,572 9/5/2016
4.13.1 117,567 9/1/2016
4.13.0 583,379 8/2/2016
4.12.0 1,251,992 7/15/2016
4.11.0 302,297 7/6/2016
4.10.0 30,139 7/5/2016
4.9.1 248,843 6/23/2016
4.9.0 203,361 6/13/2016
4.8.0 113,599 6/7/2016
4.7.0 78,500 6/6/2016
4.6.3 387,019 5/24/2016
4.6.2 49,884 5/22/2016
4.6.1 149,036 5/13/2016
4.5.0 324,149 4/25/2016
4.4.0 233,332 4/17/2016
4.3.2 113,719 4/3/2016
4.3.1 10,385 4/1/2016
4.3.0 81,929 3/31/2016
4.2.2 754,547 2/5/2016
4.2.1 377,069 1/10/2016
4.2.0 215,990 1/8/2016
4.1.1 204,187 12/13/2015
4.1.0 449,557 11/24/2015
4.0.1 449,240 10/21/2015
4.0.0 795,827 8/24/2015
4.0.0-beta0001 6,442 8/7/2015
3.5.0 400,422 8/2/2015
3.4.1 380,182 7/3/2015
3.4.0 159,306 6/22/2015
3.3.0 1,043,583 2/18/2015
3.2.2 286,122 12/12/2014
3.2.1 572,090 9/11/2014
3.1.229 300,158 7/29/2014
3.0.107 387,030 4/30/2014
2.2.0 780,455 12/30/2013
2.1.0 310,108 8/23/2013
2.0.1 331,492 3/3/2013
2.0.0.1 169,821 10/15/2012
1.7.1.1 133,537 3/24/2012
1.7.0 33,334 1/13/2012
1.6.0 46,655 10/31/2011
1.5.0 37,595 6/29/2011
1.4.0 29,639 3/14/2011
1.3.0.1 232,215 1/15/2011