Monday, February 13, 2012

How TDD can be fun !!!

Let me introduce couple of TDD tools, which can improve the productivity to a great extend

NCrunch (http://www.ncrunch.net/)

NCrunch is an automated parallel continuous testing tool for Visual studio.net. It intelligently takes responsibility for running automated tests so that you don’t have to do it and it give you a huge amount of useful information about your tests.

It is an amazing tool , as the developer need not to even save the code, the NCrunch will run in background and will show the different color indicators for code coverage, error, long running process etc.

A must tool for TDD.

NSubstitute (http://nsubstitute.github.com/)

NSubstiture is a wonderful Mock framework which has great flexibility to create mock objects with little code, couple of cool features that I found interesting is the ability to use more than one interface in one mock class. It also support the use of Lambda expressions which also give a great flexibility. I haven’t seen any other existing mock framework that has this amount of features. At the same time, NSubstitute is also very simple and easy to implement.

SharpText Ex (http://sharptestex.codeplex.com/)

An extension class to the regular Assert method. This class can be used to chain the assertion. Very simple and easy too.

No comments:

Post a Comment