Xceed Fluent Assertions のリリース

Released: Jan 26, 2026

V8.9.0 での更新項目

機能

  • Added Excluding<T>() and Excluding(Type) overloads to exclude all members of a certain type from equivalency comparisons.
  • New overloads of BeXmlSerializable and BeDataContractSerializable that allow EquivalencyOptions to be configured, allowing the use of member selection rules.
  • Added extensive support for Span<T> / ReadOnlySpan<T> and Be(string) for Span<char> / ReadOnlySpan<char>.
  • Added BeEqualTo and NotBeEqualTo to the collection assertions as a more fluent...

Released: Oct 4, 2025

V8.8.0 での更新項目

機能

  • Added WithoutMessage to allow asserting an exception message that does not contain a wildcard pattern.
  • Added support for MSTest 4.
  • Improved the way the differences are reported for long strings.

Released: Oct 2, 2025

V8.7.1 での更新項目

不具合の修正

  • Fixed ambiguity when using Should() on a JsonNode derived class.
  • JSON assertions did not properly handle floats, doubles and unsigned int/long.

Released: Sep 26, 2025

V8.7 での更新項目

機能

  • Added support for System.Text.Json.JsonNode and JsonArray through new assertions as well as the BeEquivalentTo API.
  • Added WithoutMessage to allow asserting an exception message does not contain a wildcard pattern.
  • Added Value.ThatMatches and Value.ThatSatifies to build inline assertions when using BeEquivalentTo.
  • Added WithStrictTyping and WithStrictTypingFor to BeEquivalentTo to ensure types also match.
  • Added ExcludingMembersNamed to BeEquivalentTo to exclude fields and properties anywhere...

Released: Feb 3, 2025

V8.0 での更新項目

機能

  • Fluent Assertions is now part of Xceed’s line of products and its license was updated accordingly.
  • Fluent Assertions now supports NUnit4 and the TUnit Framework.
  • .NET Core and NSpec 3 are no longer supported.
  • Two new assertions, called BeNaN and NotBeNaN, were added to this version of Fluent Assertions.
  • ForConstraint was added to IAssertionScope.
  • Multiple assertions were added to XElement and XDocument.
  • Scoped value formatters have been added to Fluent Assertions.
  • The NotBeIn(DateTimeKind...