New Post: A nice little trick with AllProperties
I don't know if anyone has found this one, but I thought I would share it anyway. Usually when asserting the properties on a test result, you can do it in three different ways. If I have my test class...
View ArticleNew Post: A nice little trick with AllProperties
Great post and great idea. You should have created a blog post about this. Notice though that implementing IEquatable<T> or overriding Equals() is not something you should do lightly. Only...
View ArticleNew Post: TFS Source Code is missing
Hi there, The TFS connection's instructions point towards the following repository. https://tfs.codeplex.com/tfs/TFS05 This directory appears empty to me. Am i the only one? Thanks Phil
View ArticleNew Post: TFS Source Code is missing
Hi Phil, You might be correct. I recently cleared out the developers of this project that haven't been active for a few months. I'll be happy to give you access though. What do you have in mind? Dennis
View ArticleNew Post: TFS Source Code is missing
I just wanted to take a look under the hood and run some unit tests. I was not sure if the TFS repository was open for everyone in read only. I used SVN instead. No problem about being active enough,...
View ArticleNew Post: Extending FluentAssertions
I think after working a bit more with the API that I withdraw my suggestion. I think that calling Should() is the right thing to do within an extension to the API. It wraps nicely around everything....
View ArticleSource code checked in, #72530
Fixed a bug that occurs when two collections are compared for equality but the collection contains null.
View ArticleSource code checked in, #72531
Fixed a bug that occurs when two collections are compared for equality but the collection contains null.
View ArticleNew Post: Extending FluentAssertions
Makes sense and looks exactly like it should....;-)
View ArticleSource code checked in, #72549
Re add Windows Phone version, along with tests. Tests are missing ExceptionAssertionSpecs and ThrowAssertionsSpecs, due to issues with FakeItEasy. Currently 48 failures in the WP version, and 35...
View ArticlePatch Uploaded: #11325
Vasyl has uploaded a patch. Description:The patch allows comparing collections with nulls inside (original code throws an exception trying to perform "null.Equals(null)"):var sample = new[] {new...
View ArticleCreated Issue: Assertion HaveValue and NotHaveValue are missing for Nullable...
I´m using FluentAssertions 1.7.0 and the methods HaveValue and NotHaveValue are missing for properties of type Nullable<int>.For Nullable<DateTime> they are...
View ArticleSource code checked in, #72582
Fixed a stack overflow exception formatting an object graph containing static cyclic references.
View ArticleCreated Issue: Numerics do not have Be() [11662]
double result;result.Should().Be(0);There is no Be() method for doubles. Same is true for floats.
View ArticleClosed Issue: Numerics do not have Be() [11662]
double result;result.Should().Be(0);There is no Be() method for doubles. Same is true for floats.Comments: This is by design. You can read about that in a blog post I wrote in February last year....
View ArticleCommented Issue: Assertion HaveValue and NotHaveValue are missing for...
I´m using FluentAssertions 1.7.0 and the methods HaveValue and NotHaveValue are missing for properties of type Nullable<int>.For Nullable<DateTime> they are...
View ArticleCommented Issue: Assertion HaveValue and NotHaveValue are missing for...
I´m using FluentAssertions 1.7.0 and the methods HaveValue and NotHaveValue are missing for properties of type Nullable<int>.For Nullable<DateTime> they are...
View ArticleCommented Issue: Assertion HaveValue and NotHaveValue are missing for...
I´m using FluentAssertions 1.7.0 and the methods HaveValue and NotHaveValue are missing for properties of type Nullable<int>.For Nullable<DateTime> they are...
View ArticleCommented Issue: Assertion HaveValue and NotHaveValue are missing for...
I´m using FluentAssertions 1.7.0 and the methods HaveValue and NotHaveValue are missing for properties of type Nullable<int>.For Nullable<DateTime> they are...
View Article