← All packages

FluentAssertions

Relicensed Facts checked 26 Nov 2026

From version 8, FluentAssertions needs a paid licence for commercial use. The 7.x line stays Apache-2.0.

Was
Apache-2.0
Now
Xceed commercial licence (version 8 and later)
Last free version
7.2.2
First paid version
8.0.0
Changed
Jan 2025
Still free for
Free for open source and non-commercial use only.
NuGet
FluentAssertions (latest 8.11.0, 830M downloads)
Source
github.com/fluentassertions/fluentassertions

Free alternatives

  • AwesomeAssertionsCommunity forkApache-2.0

    Community fork of FluentAssertions 7, actively maintained and widely used. Keeps the same API, so switching is mostly a package swap.

    NuGet: AwesomeAssertions

  • ShouldlyFree replacementBSD-3-Clause

    Popular assertion library with a different, simple style.

    NuGet: Shouldly

  • Built-in AssertBuilt into .NET

    xUnit, NUnit and MSTest all have their own assertions.

  • Pin 7.2.2Stay on the last free version

    Stays Apache-2.0.

Staying on the last free version

Pin the exact version so an update can't move you onto the paid licence by accident:

<PackageReference Include="FluentAssertions" Version="[7.2.2]" />

A pinned version gets no new fixes. Check for security advisories before relying on it long term.

Sources

Something wrong or out of date? Edit this page on GitHub.