@xceed Bluesky @ddoomen @jnyrup
“There’s a life before Fluent Assertions, and there’s a life after it” Meisam Alifallahi
Fluent Assertions is 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. Works with .NET Standard 2.0 and higher, .NET Framework 4.7 and higher and .NET 6 and higher.
Versions 8 and beyond are free for open-source projects and non-commercial use, but commercial use requires a paid license. Check out the license page for more information. Version 7 will remain fully open-source indefinitely and receive bugfixes and other important corrections.
Intention-Revealing Unit Tests
Write assertions that keep you and your fellow developers out of the debugger hell and clearly communicate what they are trying to accomplish.
Comprehensive Documentation
Extensive documentation to help you understand the power of the assertions and learn finding the sweet spot of well-written unit tests.
Highly
Extensible
Many documented extension points and overridable behavior that provides enough flexibility for even the most critical developer.
Feature Complete
Works with .NET Standard 2.0 and higher, .NET Framework 4.7 and higher and .NET 6 and higher. Supports MSTest2, xUnit2, xUnit3, NUnit3, NUnit4, MSpec and TUnit.
Great Support
Use StackOverflow for general questions, or visit GitHub for issues & feature requests.
Passionate Team
Originally authored by Dennis Doomen, but Jonas Nyrup has joined since then. Xceed is now the official partner of Fluent Assertions.
Community Extensions
Broad community support with extensions for NewtonSoft.Json, DataSets, Web, Ninject, Autofac, ASP.NET Core MVC and even Roslyn analyzers through FluentAssertions.Analyzers