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

Source code checked in, #79522

Fixed ArgumentOutOfRangeException when expected string in StartWith assertion was longer than the actual string.

View Article


Commented Issue: "".Should().StartWith should not throw...

When the asserting if a string starts with a specific string, but the first string is shorter in lenght, an ArgumentOutOfRange exception is...

View Article


Source code checked in, #79538

Minor changes to the TypeAssertions.BeDecoratedWith

View Article

Commented Issue: Extend attribute assertions with property checks [12186]

See http://fluentassertions.codeplex.com/discussions/279305 and discussion on...

View Article

Commented Issue: Extend attribute assertions with property checks [12186]

See http://fluentassertions.codeplex.com/discussions/279305 and discussion on...

View Article


Commented Issue: Compare non-nullable to nullable types [11837]

It would be nice to support this scenario: var number = 5; var nullableNumber = (int?) 5; number.Should().Be(nullableNumber);is better than: number.Should().Be(nullableNumber.Value)when nullableNumber...

View Article

Commented Issue: Compare non-nullable to nullable types [11837]

It would be nice to support this scenario: var number = 5; var nullableNumber = (int?) 5; number.Should().Be(nullableNumber);is better than: number.Should().Be(nullableNumber.Value)when nullableNumber...

View Article

Commented Issue: Compare non-nullable to nullable types [11837]

It would be nice to support this scenario: var number = 5; var nullableNumber = (int?) 5; number.Should().Be(nullableNumber);is better than: number.Should().Be(nullableNumber.Value)when nullableNumber...

View Article


Source code checked in, #79579

Introduced an IAssertionRule that takes the subject and expectation value and the PropertyInfo of the subject property. Returns true if the rule handled the assertion and no other rules should be...

View Article


Commented Feature: Exclude properties on nested objects [11841]

We'd like to compare two aggregate roots ignoring a few audit properties (CreatedBy, CreatedOn) on all entities within the root.AllPropertiesBut() only excludes properties on the root object.I think...

View Article

Created Issue: null set comparison throws NRE [12296]

gents,because I'm an idiot, and I thought this would be a small task, I wrote my own quasi-CSV serializer. Now I'm testing it, and I've found an NRE in your nice framework:I've got an...

View Article

Commented Issue: set containing nulls and a call to"ShouldContainInOrder"...

gents,because I'm an idiot, and I thought this would be a small task, I wrote my own quasi-CSV serializer. Now I'm testing it, and I've found an NRE in your nice framework:I've got an...

View Article

Source code checked in, #79638

Fixed some possible null reference exceptions

View Article


Closed Issue: set containing nulls and a call to"ShouldContainInOrder" throws...

gents,because I'm an idiot, and I thought this would be a small task, I wrote my own quasi-CSV serializer. Now I'm testing it, and I've found an NRE in your nice framework:I've got an...

View Article

Reopened Issue: set containing nulls and a call to"ShouldContainInOrder"...

gents,because I'm an idiot, and I thought this would be a small task, I wrote my own quasi-CSV serializer. Now I'm testing it, and I've found an NRE in your nice framework:I've got an...

View Article


New Post: Cannot test attributes of properties

I'm trying to assert that a particular property on a class has a particular attribute applied, using v1.7.1. The current documentation, suggests that I should be able to use:   PropertyInfo result =...

View Article

New Post: Suggestion: Fluent Asseritions on diet?

Hello, I find the library extremely useful but in its current state I find it bloated with too many features so I wonder whether you can create a more lightweight version or at least have two...

View Article


New Post: Suggestion: Fluent Asseritions on diet?

Can you explain what your real problem is? Is it the size of the assembly?

View Article

New Post: Suggestion: Fluent Asseritions on diet?

I'm currently developing a business framework for my start-up company and I was already in the process of creating similar testing library to test my framework to ease the pain but then I stumbled...

View Article

New Post: Suggestion: Fluent Asseritions on diet?

OK, makes sense. Never heard this complaint before. I don't think splitting up the assembly into multiple assemblies, but segregating the extension methods in namespaces might work as well, don't you...

View Article
Browsing all 1402 articles
Browse latest View live


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