Prentice.Hall.Test-Driven.Development.A.Practical.Guide.chm
PREFACE
This isn't a book about testing.
This is a book about a way of programming that leads to simple, clear, robust code. Code that is easy to design, write, read, understand, extend, and maintain.
This is a book about thinking, designing, communicating, and programming. It's just a really nice side effect that we end up with a comprehensive[1] suite of tests.
[1] How comprehensive depends on how good we become at it.
This book explores Test-Driven Development, Test-First Programming, call it what you will: programming by writing the tests first, then writing the code needed to make the tests pass. Specifically, working in the smallest steps possible: write just enough of a test to fail, write just enough code to make it pass, refactor to clean up the mess you made getting the test to pass.
This book focuses on the Java programming language and uses Java examples throughout. It is assumed that the reader has at least an intermediate understanding of Java (and a working Java system if you want to try out the examples for yourself). Example code and other support material is available at my website[URL 54].
Even though the focus is on Java, Part IV looks at other prominent members of the xUnit family for several popular languages. This is done by taking the first task from Chapter 10 and recasting it in the various languages. This provides a good comparison of the different frameworks.