Quantcast
Channel: Fluent Assertions
Viewing all articles
Browse latest Browse all 1402

Commented Feature: Extended reporting for ShouldBeEquivalentTo [12472]

$
0
0
Fluent Assertion 2.0 has excellent method to compare objects: ShouldBeEquivalentTo. It works great for most cases, but stops as soon as a first not matching property or field is found. From time to time it is good to display complete difference between objects (all properties). It provides deep information for cases when several related properties have unexpected values.

Now we are using KellermanSoftware.CompareNetObjects for this purpose. This library is able to report a complete list of differences between two objects, but ideally we would like to have the same functionality directly in FluentAssertions. Is it possibly to implement such extended reporting for the ShouldBeEquivalentTo method?
Comments: Added in commit: http://fluentassertions.codeplex.com/SourceControl/changeset/92fd4e10a7c7

Viewing all articles
Browse latest Browse all 1402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>