Skip to main content
FluentAssertions package icon

FluentAssertions

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.

Total Downloads
749.2M
749,192,795
Published
Jan 12, 2023
Latest stable version

Install

.NET CLI
dotnet add package FluentAssertions --version 6.9.0
Package Manager Console
Install-Package FluentAssertions -Version 6.9.0
PackageReference
<PackageReference Include="FluentAssertions" Version="6.9.0" />

Frameworks

.NETFramework4.7 .NETCoreApp2.1 .NETCoreApp3.0 net6.0 .NETStandard2.0 .NETStandard2.1

Dependencies

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 6 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.