Quantcast
Channel: Fluent Assertions
Browsing all 1402 articles
Browse latest View live

Source code checked in, #80175

Added support for excluding properties in a structural comparison using a nested property expression

View Article


Commented 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 Article


Source code checked in, #80183

Renamed IgnorePropertySelectionRule to ExcludePropertyByPathSelectionRule. Renamed ComparisonConfiguration to StructuralEqualityConfiguration.

View Article

Commented 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 Article

Source code checked in, #80188

Refactored ExpressionExtensions.GetPropertyPath()

View Article


Commented 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 Article

Created 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 Article

Commented 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 Article


Source 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 Article


Source code checked in, #80277

Reordered some of the structural equality specs.

View Article

Commented 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 Article

Commented 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 Article

New 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 Article


New 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 Article

Commented 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 Article


Commented 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 Article

New 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 Article


New 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 Article

New Post: Medium Trust support

Well, if you're looking up private members then yeah it's prohibited; otherwise, it works.

View Article

Source code checked in, #80487

Finished support for overridding an assertion with an action and based on a predicate.

View Article
Browsing all 1402 articles
Browse latest View live


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