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

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 Article


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


Edited Issue: HaveElement should support XNames [12453]

See discussion http://stackoverflow.com/questions/12099510/how-to-test-xelement-and-its-child-elements

View Article

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

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


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

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

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


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


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

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

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

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


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

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


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

Source code checked in, #be730a9b66d1

Fixed the WindowsPhone build

View Article


Source code checked in, #f8a3077d06ec

Removed the old pre-Git releases folder

View Article

Source 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

Updated Release: Release 2.0.1 (Oct 07, 2012)

Read this blog post for all the details

View Article
Browsing all 1402 articles
Browse latest View live


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