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

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 Article


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


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

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

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


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

Source code checked in, #72530

Fixed a bug that occurs when two collections are compared for equality but the collection contains null.

View Article

Source code checked in, #72531

Fixed a bug that occurs when two collections are compared for equality but the collection contains null.

View Article


New Post: Extending FluentAssertions

Makes sense and looks exactly like it should....;-)

View Article


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

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

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

Source code checked in, #72582

Fixed a stack overflow exception formatting an object graph containing static cyclic references.

View Article


Source code checked in, #72583

Incorporated a bug fix from the 1.7.0 release.

View Article

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


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

Commented 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


Commented 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

Commented 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

Commented 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
Browsing all 1402 articles
Browse latest View live


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