New Post: Confusion with OnlyContain usage
You're right. When the collection is empty, it should throw. I've fixed this in this changeset.
View ArticleSource code checked in, #71125
Ignored trailing blank characters when looking for the 'because' text in the reason of a failure.
View ArticleCommented Issue: ignore white spaces leading because message [11421]
When I write a because message starting with "because", FluentAssertions is clever enough to omit the "because" it normally writes of its own.In more complex scenarios, I'd like to preceed the because...
View ArticleCommented Issue: ignore white spaces leading because message [11421]
When I write a because message starting with "because", FluentAssertions is clever enough to omit the "because" it normally writes of its own.In more complex scenarios, I'd like to preceed the because...
View ArticleNew Post: Testing Arguments of Attributes
Given: [ContentType("output")] [Export(typeof(IClassifierProvider))] public class OutputClassifierProvider : IClassifierProvider { } I can write the following test: [Test] public void...
View ArticleReviewed: Release 1.6.0 (Nov 14, 2011)
Rated 5 Stars (out of 5) - Fantastic library! Very useful. Simple to use, lightweight - the error messages are wonderful.
View ArticleNew Post: Where to install these DLL's
This may be obvious query, i am unable to figure out where to keep the assertion DLL's. Please help.
View ArticleNew Post: Where to install these DLL's
What do you mean? You can just add a reference to the DLLs from your test project. We typically have a SharedBinaries folder in our Source Control environment that contains all references....
View ArticleCreated Issue: Support assertions on XML elements [11445]
Support assertions on XElement and XAttribute
View ArticleCommented Issue: Support assertions on XML elements [11445]
Support assertions on XElement and XAttributeComments: Associated with changeset 71187.
View ArticleCreated Feature: Support property comparison of objects in collections [11447]
If a property is of a collection type of another object, and recursive comparison is enabled, it should compare the individual objects as well.
View ArticleNew Post: Testing Arguments of Attributes
Currently it is not possible to assert the arguments of the attributes.
View ArticleCommented Issue: Support assertions on XML elements [11445]
Support assertions on XElement and XAttributeComments: Associated with changeset 71235.
View ArticleSource code checked in, #71236
Added initial XAttributeAssertions. Updated formatting of XElement in failure messages.
View ArticleCommented Issue: Support assertions on XML elements [11445]
Support assertions on XElement and XAttributeComments: Associated with changeset 71236.
View ArticleCommented Issue: Support assertions on XML elements [11445]
Support assertions on XElement and XAttributeComments: Associated with changeset 71239.
View Article