Edited Feature: Extended reporting for ShouldBeEquivalentTo [12472]
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...
View ArticleCommented Feature: Extended reporting for ShouldBeEquivalentTo [12472]
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...
View ArticleEdited Issue: HaveElement should support XNames [12453]
See discussion http://stackoverflow.com/questions/12099510/how-to-test-xelement-and-its-child-elements
View ArticleClosed Issue: BeOfTypeImplements to test IEnumerable instead of specific...
Unit tests for my controller include type validation of the model.I first attempted:ViewResult.Model.Should().BeOfType<IEnumerable<model>>()but it failed, stating that the type is...
View ArticleNew Post: ShouldBeEquivalentTo method still relies on override of...
In the FA 2.1 branch, I've fixed this behavior. I will also make the list of steps public so that you can tweak it to your needs.
View ArticleCreated Issue: AssertEquality - include property value [12480]
If properties are not equal and property types are the same - show expected and actual property values. This would greatly help debugging the issue.I ran into the problem when using...
View ArticleCommented Issue: AssertEquality - include property value [12480]
If properties are not equal and property types are the same - show expected and actual property values. This would greatly help debugging the issue.I ran into the problem when using...
View ArticleCommented Issue: AssertEquality - include property value [12480]
If properties are not equal and property types are the same - show expected and actual property values. This would greatly help debugging the issue.I ran into the problem when using...
View ArticleCommented Issue: AssertEquality - include property value [12480]
If properties are not equal and property types are the same - show expected and actual property values. This would greatly help debugging the issue.I ran into the problem when using...
View ArticleCreated Issue: ShouldBeEquivalentTo crashes on signature hiding properties...
Take this example. Foo is overriden with new. This crashes TypeExtensions.FindProperty because it will see object Foo and string Foo```c#[TestMethod] public void FluentAssertionsTest(){ var a1 = new...
View ArticleNew Post: ShouldBeEquivalentTo method still relies on override of...
Hi Dennis, Thanks for addressing this need. Is there a defect number or feature request I can track? -Mitch
View ArticleNew Post: ShouldBeEquivalentTo method still relies on override of...
Hi Mitch, The commit that fixes the Equals() problem can be tracked here. For opening up the list I had some local changes that I lost because I didn't know that checking out another branch in Git can...
View ArticleCommented Issue: Issue with normal Should Be call [12478]
Hi I receive an exception when i make a call like this:```etuResponse.Header.RspCode.Should().Be(0);```Thats all. I am doing nothing else.RspCode has the value 234.I am using MSTest, Visual Studio...
View ArticleCommented Issue: Issue with normal Should Be call [12478]
Hi I receive an exception when i make a call like this:```etuResponse.Header.RspCode.Should().Be(0);```Thats all. I am doing nothing else.RspCode has the value 234.I am using MSTest, Visual Studio...
View ArticleCommented Issue: ShouldBeEquivalentTo crashes on signature hiding properties...
Take this example. Foo is overriden with new. This crashes TypeExtensions.FindProperty because it will see object Foo and string Foo```c#[TestMethod] public void FluentAssertionsTest(){ var a1 = new...
View ArticleCommented Issue: Issue with normal Should Be call [12478]
Hi I receive an exception when i make a call like this:```etuResponse.Header.RspCode.Should().Be(0);```Thats all. I am doing nothing else.RspCode has the value 234.I am using MSTest, Visual Studio...
View ArticleSource code checked in, #98604628836d
Small bug-fix to better intercept and/or prevent exceptions while scanning for methods annotated with [ValueFormatter]. Updated version number to 2.0.1
View Article