Using step by step examples, this chapter demonstrates how Test-Driven Development can be used to implement an unbounded Stack. After going through a test list of 14 tests, it is observed how the resultant test code is 4 times the size of the Stack code, since the focus is on what the class does and how it is used instead of how it is implemented.

Read the Test-Driven Development in .NET - By Example