Xceed Fluent Assertions Versioni

Scopri le novità in ogni release, con dettagli su funzionalità, miglioramenti e problemi risolti.

gen
feb
mar
apr
mag
giu
lug
ago
set
ott
nov
dic
Xceed Fluent Assertions V8.10.017 ago 2026
Funzionalità
  • Added ComparingNullCollectionsAsEmpty and ComparingNullStringsAsEmpty options to BeEquivalentTo.
  • Now reports a descriptive failure when a selection rule targets a type that is being compared by value, including both:
    • Auto-detected value semantics (EqualityStrategy.Equals) when the type overrides Equals().
    • Explicit value semantics (EqualityStrategy.ForceEquals) when the user calls ComparingByValue().Significantly improved BeEquivalentTo for large unordered collections.
  • Now includes original index in extraneous item failure messages.
Xceed Fluent Assertions V8.9.026 gen 2026
Funzionalità
  • 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 alternative to Equal.
  • Added HaveMillisecond and NotHaveMillisecond assertion methods for DateTime and DateTimeOffset.
  • BeEquivalentTo will now report the missing or extraneous items for differently sized collections.
Correzioni
  • Fixed a formatting exception when comparing strings containing braces.
  • Removed FluentAssertions code from the stack trace when an assertion fails.