Commented Issue: PropertyAssertions.AllProperties() throws NRE for properties...
If you have an object that has a property with no get method (ie, only a setter), then calling .AllProperties() with that object results in a NullReferenceException.The error is in...
View ArticlePatch Applied: #11573
dennisdoomen has applied patch #11573. Comment:http://fluentassertions.codeplex.com/SourceControl/changeset/changes/74292
View ArticleClosed Issue: Should().Match() doesnt work [11765]
I'm trying to use simple regex expressions, but none work.Using the example that was given on documentation, heres the output (a non-match).Expected string to match the equivalent of...
View ArticleUpdated Wiki: Documentation
Supported Test Frameworks Fluent Assertions supports MSTest, NUnit, XUnit and MSpec. You can simply add a reference to the corresponding test framework assembly to the unit test project. Fluent...
View ArticleSource code checked in, #74338
Made the handling of cyclic references when validating equality of nested properties configurable (ignore / throw exception)
View ArticleCommented Feature: Don't always throw when a circular dependency is detected...
Just started using your library and so far I find it excellent. One thing though: I use it for comparing NHibernate objects and sometimes I have objects with bi-directional references. The assertions...
View ArticleSource code checked in, #74341
Made the handling of cyclic references when validating nested properties configurable (ignore / throw exception) (merge from 1.7 branch)
View ArticleCommented Feature: Don't always throw when a circular dependency is detected...
Just started using your library and so far I find it excellent. One thing though: I use it for comparing NHibernate objects and sometimes I have objects with bi-directional references. The assertions...
View ArticleCreated Issue: XElementAssertions.HaveElement() throws funny error messages...
XElementAssertions.HaveElement() throws a funny error message (because we [...] message) although I didn't specify a reason.CodeSnippet: xml.Element("Root") .Should().HaveElement("Children");I get the...
View ArticleCommented Issue: XElementAssertions.HaveElement() throws funny error messages...
XElementAssertions.HaveElement() throws a funny error message (because we [...] message) although I didn't specify a reason.CodeSnippet: xml.Element("Root") .Should().HaveElement("Children");I get the...
View ArticleCommented Issue: XElementAssertions.HaveElement() throws funny error messages...
XElementAssertions.HaveElement() throws a funny error message (because we [...] message) although I didn't specify a reason.CodeSnippet: xml.Element("Root") .Should().HaveElement("Children");I get the...
View ArticleCreated Issue: GetNonPrivateProperties returns empty collection [11886]
GetNonPrivateProperties contains the following check: where (properties == null) || properties.Contains(propertyInfo.Name). In case I use SharedProperties call properties is not null, it is an empty...
View ArticleNew Post: CollectionPropertyAssertions
I have started using CollectionPropertyAssertions. Why does CollectionPropertyAssertions.EqualTo accepts object but not IEnumerable<T>? I guess this approach would make it possible to add...
View ArticleNew Post: CollectionPropertyAssertions
This is because T in this class is the type of the collection, not the type of the items in the collection. I tried to add a second generic type parameter, but then the compiler couldn't infer the type...
View ArticleCommented Issue: GetNonPrivateProperties returns empty collection [11886]
GetNonPrivateProperties contains the following check: where (properties == null) || properties.Contains(propertyInfo.Name). In case I use SharedProperties call properties is not null, it is an empty...
View ArticleCommented Issue: GetNonPrivateProperties returns empty collection [11886]
GetNonPrivateProperties contains the following check: where (properties == null) || properties.Contains(propertyInfo.Name). In case I use SharedProperties call properties is not null, it is an empty...
View Article