/*before*/ Assert.That(logHandlersCount, Is.EqualTo(1));
/*after*/ logHandlersCount.Should().Be.EqualTo(1);
Even better readability :-)
More on Sharp Tests Ex here: http://sharptestex.codeplex.com/Wiki/View.aspx?title=SyntaxMainPage
Random thoughts about every aspect of software development.
/*before*/ Assert.That(logHandlersCount, Is.EqualTo(1));
/*after*/ logHandlersCount.Should().Be.EqualTo(1);
The right link for documentation is
ReplyDeletehttp://sharptestex.codeplex.com/documentation
have a look to new assertions based on lambda.
http://fabiomaulo.blogspot.com/2009/12/sharptestsex-100beta-satisfy-your-test.html
That I will do! Thanx!
ReplyDelete