fluentassertions/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, as well as .NET Core 2.1, .NET Core 3.0, .NET 6, .NET Standard 2.0 and 2.1. Supports the unit test frameworks MSTest2, NUnit3, XUnit2, MSpec, and NSpec3. observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 99
- Release rhythm 83
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 26.5
- age_days: 4784
- days_rel: 113
- days_push: 8
- n_releases_24m: 21
Adoption not part of the score
3816 stars · 724 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Fluent Assertions is a .NET library providing an extensive set of extension methods for writing readable, fluent assertions in TDD and BDD-style unit tests. It supports multiple .NET platforms and integrates with test frameworks such as MSTest, NUnit, XUnit, MSpec, and NSpec.
Use cases
- write readable unit test assertions in .NET
- fluently assert collection contents in C# tests
- verify exceptions are thrown with specific messages
- chain assertions on object graphs
- improve TDD/BDD test readability
When to choose
- you write .NET unit tests and want expressive, chainable assertions
- you use MSTest, NUnit, XUnit, MSpec, or NSpec and want better failure messages
- you follow TDD or BDD practices in C#
When to avoid
- you are not developing on .NET
- you need a permissively licensed library without commercial subscription requirements
- you prefer plain built-in framework assertions
Facets
library · maturity active
testing testing developer-tools dotnet cross-platform assertions tdd bdd unit-testing xunit nunit mstest fluent-api c-sharp
6 sources
- readme: https://github.com/fluentassertions/fluentassertions · fetched 2026-08-28 · 24de61325bf5
- homepage: https://xceed.com/products/unit-testing/fluent-assertions/ · fetched 2026-08-29 · 4652364aa8b6
- site_page: https://xceed.com/about-us · fetched 2026-08-29 · 033a2aa84402
- site_page: https://xceed.com/documentation · fetched 2026-08-29 · c142e1837db0
- site_page: https://xceed.com/documentation/xceed-fluent-assertions-for-net/index.html · fetched 2026-08-29 · cd2dc3eb05f4
- site_page: https://xceed.com/pricing · fetched 2026-08-29 · 36434f351d40
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| fluentassertions/fluentassertions | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="fluentassertions/fluentassertions")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem