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

Edited Feature: Show details about an AggregateException in ShouldNotThrow...

When an AggregateException is thrown it would be nice if ShouldNotThrow shows the details about the inner exception. Now you only see that an AggregateException is thrown, but is is more interesting to...

View Article


Commented Feature: Show details about an AggregateException in ShouldNotThrow...

When an AggregateException is thrown it would be nice if ShouldNotThrow shows the details about the inner exception. Now you only see that an AggregateException is thrown, but is is more interesting to...

View Article


Source code checked in, #c80ef7b47411e5af6cd7d751ec7cc5f971a6f625

Merge branch 'master' of https://git01.codeplex.com/forks/groostav/fluentassertionscountingbug into Groostav/FluentAssertionsCountingBug Conflicts: .gitignore

View Article

Edited Issue: CollectionAssertions.HaveCount never calls Count property,...

FIrst off, I'm checking out your repo and I'll supply a fix with this issue... tagged in a pull request?Gents, public AndConstraint<TAssertions> HaveCount(int expected, string reason = "", params...

View Article

Edited Unassigned: CollectionAssertions.Equal does not handle null properly...

I have the following situation:string[] expected = null;string[] result = null;result.Should().Equal(expected) // Throws Exception"Expected collection to be equal, but found <null>."Since the...

View Article


Edited Issue: Windows phone throwing non descript exceptions [12470]

Given the following code.[TestMethod]public void InitialiseSession(){ false.Should().BeTrue();}Results in :New exception: "Could not find windows phone test framework.". I'm using the latest test...

View Article

Commented Issue: Windows phone throwing non descript exceptions [12470]

Given the following code.[TestMethod]public void InitialiseSession(){ false.Should().BeTrue();}Results in :New exception: "Could not find windows phone test framework.". I'm using the latest test...

View Article

Closed Unassigned: Collection should contain other collection behaving...

I want to assert that a collection of simple objects includes a smaller collection of the same object type. For some reason actualCollection.Should().Contain(expectedCollection) is failing with a...

View Article


Edited Unassigned: Collection should contain other collection behaving...

I want to assert that a collection of simple objects includes a smaller collection of the same object type. For some reason actualCollection.Should().Contain(expectedCollection) is failing with a...

View Article


Commented Unassigned: Collection should contain other collection behaving...

I want to assert that a collection of simple objects includes a smaller collection of the same object type. For some reason actualCollection.Should().Contain(expectedCollection) is failing with a...

View Article

Reopened Unassigned: Collection should contain other collection behaving...

I want to assert that a collection of simple objects includes a smaller collection of the same object type. For some reason actualCollection.Should().Contain(expectedCollection) is failing with a...

View Article

Edited Unassigned: Collection should contain other collection behaving...

I want to assert that a collection of simple objects includes a smaller collection of the same object type. For some reason actualCollection.Should().Contain(expectedCollection) is failing with a...

View Article

Commented Unassigned: Collection should contain other collection behaving...

I want to assert that a collection of simple objects includes a smaller collection of the same object type. For some reason actualCollection.Should().Contain(expectedCollection) is failing with a...

View Article


Edited Unassigned: Equal and collections of generics = bad message...

If a Equal test fail on a collection containing generic types (Class<T>) the test failed message returns a generic error message, telling just the index of the collection were the test failed,...

View Article

New Post: AllProperties for collection

Is this do-able with the AllPropertiesBut condition as well?

View Article


New Post: AllProperties for collection

You should use the new API for comparing two collections for structural equality, e.g. collection.ShouldAllBeEquivalentTo().

View Article

New Post: AllProperties for collection

So I'll get this:sessions.Should().HaveCount(1); sessions.Single().ShouldHave().AllPropertiesBut(x => x.Id).EqualTo(expected); turning into this:sessions.ShouldAllBeEquivalentTo(new[] { expected },...

View Article


New Post: AllProperties for collection

Yep, sounds about right.

View Article

Edited Unassigned: Equal and collections of generics = bad message...

If a Equal test fail on a collection containing generic types (Class<T>) the test failed message returns a generic error message, telling just the index of the collection were the test failed,...

View Article

Commented Unassigned: Equal and collections of generics = bad message...

If a Equal test fail on a collection containing generic types (Class<T>) the test failed message returns a generic error message, telling just the index of the collection were the test failed,...

View Article
Browsing all 1402 articles
Browse latest View live


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