Source code checked in, #80175
Added support for excluding properties in a structural comparison using a nested property expression
View ArticleCommented Feature: Exclude properties on nested objects [11841]
We'd like to compare two aggregate roots ignoring a few audit properties (CreatedBy, CreatedOn) on all entities within the root.AllPropertiesBut() only excludes properties on the root object.I think...
View ArticleSource code checked in, #80183
Renamed IgnorePropertySelectionRule to ExcludePropertyByPathSelectionRule. Renamed ComparisonConfiguration to StructuralEqualityConfiguration.
View ArticleCommented Feature: Exclude properties on nested objects [11841]
We'd like to compare two aggregate roots ignoring a few audit properties (CreatedBy, CreatedOn) on all entities within the root.AllPropertiesBut() only excludes properties on the root object.I think...
View ArticleCommented Feature: Exclude properties on nested objects [11841]
We'd like to compare two aggregate roots ignoring a few audit properties (CreatedBy, CreatedOn) on all entities within the root.AllPropertiesBut() only excludes properties on the root object.I think...
View ArticleCreated Issue: Allow for custom IValueFormatters [12364]
I have some cases where I override ToString on my class under test but I'd prefer to use the DefaultValueFormatter as it display nicer formatted results for me (though there are a few properties I...
View ArticleCommented Feature: Allow for custom IValueFormatters [12364]
I have some cases where I override ToString on my class under test but I'd prefer to use the DefaultValueFormatter as it display nicer formatted results for me (though there are a few properties I...
View ArticleSource code checked in, #80276
Added support for excluding a property using a predicate lambda. Removed the TypeInfo. Exposed the StructuralEqualityContext to the selection rules through an ISelectionContext interface.
View ArticleCommented Feature: Exclude properties on nested objects [11841]
We'd like to compare two aggregate roots ignoring a few audit properties (CreatedBy, CreatedOn) on all entities within the root.AllPropertiesBut() only excludes properties on the root object.I think...
View ArticleCommented Feature: Allow for custom IValueFormatters [12364]
I have some cases where I override ToString on my class under test but I'd prefer to use the DefaultValueFormatter as it display nicer formatted results for me (though there are a few properties I...
View ArticleNew Post: Inheritance of assertions
Hi, why is it not possible to do enumerable.Should().BeSameAs(enumerable2) ? I would expect that all assertions I can make on objects also are valid for enumerables.. Regards
View ArticleNew Post: Inheritance of assertions
We never needed that because most folks are just interested in whether both collections contain the same elements. If you need it, please create an issue so that we can include it in the next release.
View ArticleCommented Feature: Allow for custom IValueFormatters [12364]
I have some cases where I override ToString on my class under test but I'd prefer to use the DefaultValueFormatter as it display nicer formatted results for me (though there are a few properties I...
View ArticleCommented Issue: Should be single [12313]
hey guys, I've run into this a couple times and implemented work-around, but I finally got around to creating proper extension methods for fluent assertions, it would be nice if it ended up as a native...
View ArticleNew Post: Medium Trust support
Hello, I've made some extensions to xUnit that allow me to run tests under a certain trust level but the problem is that Fluent Assertions uses GetName() in its LateBoundTestFramework class that throw...
View ArticleNew Post: Medium Trust support
That should work, but that doesn't solve the fact that quite some assertion methods use Reflection internally. Isn't that prohibited in a medium trust environment?
View ArticleNew Post: Medium Trust support
Well, if you're looking up private members then yeah it's prohibited; otherwise, it works.
View ArticleSource code checked in, #80487
Finished support for overridding an assertion with an action and based on a predicate.
View Article