github fluentassertions/fluentassertions 5.5.1

latest releases: 7.0.0-alpha.3, 7.0.0-alpha.2, 7.0.0-alpha.1...
5 years ago
  • {New} Now provides a hint when strings differ in length and contain differences - #915, #907
  • {New} Added ThrowAsync, ThrowExactlyAsync and NotThrowAsync - #931
  • {New} Added support for Should().Throw and Should().NotThrow for Func<T> - #951
  • {New} Added support for private protected access modifier - #932
  • {New} Updated BeApproximately to support nullable types for both the subject and the expectation nullable - #934
  • {New} Added async version of ExecutionTime to - #938
  • {New} Updated NotBeApproximately to accepting nullable subject and expectation - #939
  • {New} type.Should().Be(type) now support open generics - #954, #955
  • {Fix} Minor performance improvements to prevent rendering messages if a test did not fail - #921, #915
  • {Fix} Improve performance of Should().AllBeEquivalentTo() - #920, #914
  • {Fix} Improve the presentation of enums to include the value and the number - #923, #897
  • {Fix} BeEquivalentTo with WithStrictOrdering produced messy failure message - #918
  • {Fix} Fixes detecting checking equivalency of a null subject to a dictionary - #933
  • {Fix} Fixes duplicate conversions being mentioned in the output of the equivalency API - #941
  • {Fix} Comparing an object graph against IEnumerable now works now as expected - #911
  • {Fix} Selecting members during object graph assertions now better handles new overrides -#960, #956

Note In versions prior to 5.5, FA may have skipped certain properties in the equivalency comparison. #960 fixes this, so this may cause some breaking changes.

Lots of kudos @jnyrup and @krajek for a majority for the work in this release.

Don't miss a new fluentassertions release

NewReleases is sending notifications on new releases.