2009-09-24

Trying out Sharp Tests Ex with NUnit 2.5

/*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

2 comments:

  1. The right link for documentation is
    http://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

    ReplyDelete