Thursday, April 19, 2012

Test Driven Development?


Test driven development is a test-first approach. Developer writes a test even before starting coding.

Microsoft is promoting this concept and appears to be investigating heavily to promote this concept.

Microsoft TDD

There is no scholarly research done so far to support the hypothesis that test driven development improves cycle time, productivity, and quality.

Visual Studio nicely supports the test driven development.

As stated in the Microsoft website, Test Driven Development follows three phase approach.

1. Red - Developer first creates a test to make it fail

2. Green - Developer develops code to make the test pass

3. Re-factor - Developer modifies the code to remove duplication and improves the design while ensuring that all tests pass





No comments:

Post a Comment