- {New} Now provides a hint when strings differ in length and contain differences - #915, #907
- {New} Added
ThrowAsync
,ThrowExactlyAsync
andNotThrowAsync
- #931 - {New} Added support for
Should().Throw
andShould().NotThrow
forFunc<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 ofExecutionTime
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
withWithStrictOrdering
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.