This post originated from an RSS feed registered with .NET Buzz
by Max Zone.
Original Post: Test Driven Development by Example
Feed Title: dzone.com: .net
Feed URL: http://www.dzone.com/feed/frontpage/.net/rss.xml
Feed Description: dzone.com: fresh .net links for developers
A lot has been written on the subject of test driven development, and especially on the idea that tests ought to be written first. Some people learn better by example. This article, rather than going in to great length about the principles of test driven development, will walk the reader through the process of building and testing an algorithm by writing the tests first, then changing the method being tested so that it fulfils the tests.