Test Driven Development in
Microsoft .NET James W. Newkirk and Alexei A.Vorontsov
This book is available from Amazon
here.
The Table of Contents and Chapter 2 are available
here.
Source code for the book is available
here.
“Test-Driven Development is a powerful way to produce well designed
code with fewer defects—and this book does a great job of bringing
this technique into the world of .NET.”
—Martin Fowler, Chief
Scientist, ThoughtWorks
“The best way I know to write code is to shape it from the
beginning—with tests. This book shows you how to use TDD and the
.NUnit testing framework to produce better code for .NET.”
—Ron Jeffries,
www.xprogramming.com
“Fewer defects, less debugging, more confidence, better design, and
higher productivity....This book gives you the practical advice you
need to gain the benefits of TDD.”
—Kent Beck, Director,
Three Rivers Institute
With the clarity and precision intrinsic to the Test-Driven
Development (TDD) process itself, experts James Newkirk and Alexei
Vorontsov demonstrate how to implement TDD principles and practices
to drive lean, efficient coding—and better design. The best way to
understand TDD is to see it in action, and Newkirk and Vorontsov
walk you step by step through TDD and refactoring in an n-tier,
.NET-connected solution. And, as members of the development team for
NUnit, a leading unit-testing framework for Microsoft® .NET, the
authors can offer matchless insights on testing in this
environment—ultimately making their expertise your own.
Test first—and drive ambiguity out of the development process:
➜ Document your code with tests, rather than paper
➜ Use test lists to generate explicit requirements and completion
criteria
➜ Refactor—and improve the design of existing code
➜ Alternate programmer tests with customer tests
➜ Change how you build UI code—a thin layer on top of rigorously
tested code
➜ Use tests to make small, incremental changes—and minimize the
debugging process
➜ Deliver software that’s verifiable, reliable, and robust