FluentAssertions 1.7.0 Prefix Reserved

There is a newer version of this package available.
See the version list below for details.
Install-Package FluentAssertions -Version 1.7.0
dotnet add package FluentAssertions --version 1.7.0
<PackageReference Include="FluentAssertions" Version="1.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FluentAssertions --version 1.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FluentAssertions, 1.7.0"
#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 FluentAssertions as a Cake Addin
#addin nuget:?package=FluentAssertions&version=1.7.0

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

A very extensive set of extension methods for .NET 3.5, 4.0 and Silverlight 4.0 that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit test.

This package has no dependencies.

NuGet packages (327)

Showing the top 5 NuGet packages that depend on FluentAssertions:

Package Downloads
FluentAssertions.Json

Fluent Assertions extensions for Newtonsoft.Json

FluentValidation.Validators.UnitTestExtension

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

VirtoCommerce.SearchModule.Core

Package Description

FluentAssertions.AspNetCore.Mvc

Fluent Assertions extensions for ASP.NET Core MVC.

FluentAssertions.Autofac

Fluent Assertions extensions for Autofac

GitHub repositories (479)

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

Repository Stars
App-vNext/Polly
Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. From version 6.0.1, Polly targets .NET Standard 1.1 and 2.0+.
IdentityServer/IdentityServer4
OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
restsharp/RestSharp
Simple REST and HTTP API Client for .NET
dotnet/orleans
Orleans is a cross-platform framework for building distributed applications with .NET
felixse/FluentTerminal
A Terminal Emulator based on UWP and web technologies.
Version Downloads Last updated
6.3.0 161,250 1/1/2022
6.2.0 1,976,874 10/25/2021
6.1.0 3,005,374 8/22/2021
6.0.0 448,420 8/13/2021
6.0.0-beta0003 8,441 8/11/2021
6.0.0-beta0002 5,004 8/5/2021
6.0.0-beta0001 85,833 6/1/2021
6.0.0-alpha0002 263,471 1/7/2021
6.0.0-alpha0001 324,384 7/24/2020
5.10.3 42,111,296 3/21/2020
5.10.2 4,512,881 2/9/2020
5.10.0 3,929,314 1/2/2020
5.9.0 9,599,298 8/28/2019
5.8.0 1,416,884 8/9/2019
5.7.0 5,303,004 6/8/2019
5.6.0 10,048,069 1/11/2019
5.5.3 2,882,185 11/20/2018
5.5.1 216,314 11/16/2018
5.4.2 3,030,070 9/14/2018
5.4.1 4,341,789 6/20/2018
5.4.0 472,182 6/13/2018
5.3.2 712,409 5/30/2018
5.3.0 1,957,672 4/19/2018
5.2.0 1,399,668 3/15/2018
5.1.2 1,057,805 2/19/2018
5.1.1 177,996 2/14/2018
5.0.0 1,306,838 2/4/2018
4.19.4 6,852,775 8/24/2017
4.19.3 1,392,465 7/4/2017
4.19.2 3,350,799 3/8/2017
4.19.0 1,233,100 2/4/2017
4.18.0 1,694,701 12/4/2016
4.17.0 740,585 11/9/2016
4.16.0 311,881 10/26/2016
4.15.0 264,449 10/11/2016
4.14.0 849,928 9/5/2016
4.13.1 92,659 9/1/2016
4.13.0 419,568 8/2/2016
4.12.0 666,067 7/15/2016
4.11.0 230,537 7/6/2016
4.10.0 20,734 7/5/2016
4.9.1 222,480 6/23/2016
4.9.0 163,918 6/13/2016
4.8.0 79,761 6/7/2016
4.7.0 53,595 6/6/2016
4.6.3 302,198 5/24/2016
4.6.2 43,546 5/22/2016
4.6.1 132,567 5/13/2016
4.5.0 267,782 4/25/2016
4.4.0 168,358 4/17/2016
4.3.2 82,020 4/3/2016
4.3.1 5,103 4/1/2016
4.3.0 70,220 3/31/2016
4.2.2 593,040 2/5/2016
4.2.1 329,341 1/10/2016
4.2.0 209,641 1/8/2016
4.1.1 158,379 12/13/2015
4.1.0 337,316 11/24/2015
4.0.1 367,698 10/21/2015
4.0.0 474,181 8/24/2015
4.0.0-beta0001 3,128 8/7/2015
3.5.0 318,192 8/2/2015
3.4.1 297,822 7/3/2015
3.4.0 101,876 6/22/2015
3.3.0 811,732 2/18/2015
3.2.2 238,279 12/12/2014
3.2.1 379,077 9/11/2014
3.1.229 214,334 7/29/2014
3.0.107 338,041 4/30/2014
2.2.0 608,443 12/30/2013
2.1.0 248,634 8/23/2013
2.0.1 263,440 3/3/2013
2.0.0.1 115,887 10/15/2012
1.7.1.1 81,951 3/24/2012
1.7.0 9,704 1/13/2012
1.6.0 14,290 10/31/2011
1.5.0 9,394 6/29/2011
1.4.0 5,579 3/14/2011
1.3.0.1 19,496 1/15/2011

- Added methods for asserting that a collection of types matching a predicate have specific methods that are virtual or marked with a specific attribute.
     - Added methods for asserting XElements and Xattributes
     - Added support for recursively comparing the properties of nested (collection of objects ). By default it will compare all properties of the expected object graph, unless SharedProperties is used.
     - Added a fallback mechanism so that if FA cannot find any of the supported frameworks, it will fall back to using a custom AssertFailedException exception class rather than crashing.
     - Added support for ComparisonMode.StartWith and ComparisonMode.StartWithEquivalent when asserting the message of an exception.
     - For assertions that verify against a Type, the failure message will use the AssemblyQualifiedName rather than just the name of the type.
     - Fixed a bug so that collection.Should().OnlyContain(lamba) now throws if the collection is empty. See this discussion for more details.
     - Minor fix that ignores trailing blank characters when looking for the 'because' text in the reason of an assertion.
     - Added better and deeper detection of cyclic references when recursively comparing properties or generating a string representation of a complex object graph.
     - For long strings, the error message for string.Should().StartWith() places the actual and expected strings on seperate lines. This makes it easier to find the differences.