Source code checked in, #67150
Refactored the property comparison assertions to use the correct assertion class for the individual properties. This gives the same kind of detailed reports for properties as you get for the individual...
View ArticleCommented Issue: Property comparison should be a bit smarter [10683]
The ShouldHave().AllProperties() and corresponding variants should not just use the Equals() method to compare individual properties, but attempt to use the built-in .Be()/.Equal() extension methodes...
View ArticleSource code checked in, #67151
Refactored StringEqualityValidator to comply to Clean Code
View ArticleCommented Issue: Property comparison should be a bit smarter [10683]
The ShouldHave().AllProperties() and corresponding variants should not just use the Equals() method to compare individual properties, but attempt to use the built-in .Be()/.Equal() extension methodes...
View ArticleSource code checked in, #67167
Property comparison throws with a clear explanation when property types are incompatible
View ArticleCommented Issue: Property comparison should be a bit smarter [10683]
The ShouldHave().AllProperties() and corresponding variants should not just use the Equals() method to compare individual properties, but attempt to use the built-in .Be()/.Equal() extension methodes...
View ArticleSource code checked in, #67300
Refactored property comparison into a dedicated validator class.
View ArticleCommented Issue: Property comparison should be a bit smarter [10683]
The ShouldHave().AllProperties() and corresponding variants should not just use the Equals() method to compare individual properties, but attempt to use the built-in .Be()/.Equal() extension methodes...
View ArticleSource code checked in, #67315
When a string argument contains a newline or is longer than 6 characters, both the expected and the actual strings are displayed on a new line for easy visual comparison.
View ArticleCommented Issue: Improve exception message for string.Should.Be(multiple...
The current exception when strings are not equal is:Expected "bc", but "a" is too short.This works well when the excepted and actual value are not multiple lines; ie do not have...
View ArticleSource code checked in, #67345
Replaced < and > from indicating collections with the more common { and }
View ArticleSource code checked in, #67351
Moved formatting of values to a dedicated class and removed the embracing <> when displaying numbers.
View ArticleSource code checked in, #67352
Ensured that items within a collection are also formatted properly
View ArticleSource code checked in, #67354
Added an extra spec to make sure enumerables of enumerables were reported properly.
View ArticleSource code checked in, #67548
The default formatter will display the object structure like this: MyClass { Property1 = blah } But only if the object does not implement ToString()
View ArticleCreated Issue: current IComparable asserts aren't available for IComparable...
same as the title, don't really think I can add much more,btw, started using your library today, and so far loving it, great work.
View ArticleCommented Issue: current IComparable asserts aren't available for IComparable...
same as the title, don't really think I can add much more,btw, started using your library today, and so far loving it, great work.Comments: ** Comment from web user: dennisdoomen ** Thanks!Do you mean...
View ArticleCommented Issue: current IComparable asserts aren't available for IComparable...
same as the title, don't really think I can add much more,btw, started using your library today, and so far loving it, great work.Comments: ** Comment from web user: keivanbeigi ** Yes, I'm moving from...
View ArticleNew Post: Should Assertion Library or FluentAssertions
I'm a little bit perplexed about what seems to me identical goals of this library (FluentAssertions) and the Sould Assertion Library (http://should.codeplex.com). Is there any valid reason to use one...
View ArticleCreated Issue: Test framework detection not working [11012]
Instead of trying to detect the framework using Assembly.Load Method, we should use something like thisAppDomain.CurrentDomain.GetAssemblies().Any(a => a.GetName().Name =...
View Article