NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #86 most downloaded on NuGet
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. Supports the unit test frameworks MSTest2, MSTest3, MSTest4, NUnit3, NUnit4, XUnit2, XUnit3, MSpec and TUnit. IMPORTANT: This version is free for open-source projects and non-commercial use, but commercial use requires [a paid license](https://xceed.com/products/unit-testing/fluent-assertions/). Check out the [license page](LICENSE) for more information.
Latest stable
8.11.0
Last release 2 months ago
14 Sep 2026
Ships fairly regularly
a new release about every 5 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
24 versions withdrawn
withdrawn after publishing
127 years old
135 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Gregor Stamac extended the XML assertions with the methods BeEquivalentTo and NotBeEquivalentTo to perform a deep comparison between two XML fragments
New functionality
BeEquivalentTo and NotBeEquivalentTo to perform a deep comparison between two XML fragments.Be overload to the NullableSimpleTimeSpanAssertions which allows Be assertions against a nullable TimeSpan (#5).NotBeNullOrWhiteSpace to the string assertions and marked the old BeBlank and NotBeBlank as [Obsolete] (#7).MatchRegex and NotMatchRegex methods (#11).BeBinarySerializable that can be used to tweak the internal comparison between the original and the deserialized objects based on the EquivalencyAssertionOptions of the object graph comparison API. (#16)NotBeTrue and NotBeFalse assertions for (nullable) booleans.BeCloseTo as an assertion on a TimeSpan, similarly to what already exists for DateTimes. (#45)ExcludeNestedObjects method.Bug fixes and minor improvements
BeOfType. (#37)ShouldThrow and ShouldNotThrow methods now properly support nested aggregate exceptions. (#19)ShouldBeEquivalentTo method.NullReferenceException in the DefaultValueFormatter when a ToString override returns null.DateTime objects.xelement.Should().Be() / NotBe() threw an exception when the expected object was null (#36)ShouldAllBeEquivalentTo to compare two collections with the same number of elements but one contains duplicates (so some items are missing) the assertion wouldn't fail. Gregor Stamac fixed this for us as well.NotBeEquivalentTo incorrectly interpreted two intersecting collections of the same length as 'equivalent'. (#52)DateTime and Type assertions against null values.Breaking changes
object.ShouldHave().AllProperties().EqualTo(other)) has been marked as [Obsolete] and will be removed in the next major version. Please use the newer object equivalency API.<appSetting> with key valueFormatters. Valid values include Disabled (the default), Scan and Specific. The 2nd option will scan all assemblies in the AppDomain as version 2.1 did by default. The last option also requires you to set the valueFormattersAssembly setting key with the (partial) name of an assembly FA should scan. Since Silverlight and Windows Phone do not support an app.config file, you'll need to configure those settings through the ValueFormatterDetectionMode and ValueFormatterAssembly properties of the static Configuration.Current object.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Added support for Windows Phone 8 test projects, both using the Visual Studio 2010 test harnass, as well as the new MSTest based framework introduced
What are the major features
What other improvements are new
Bug fixes
Breaking changes
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.