Man is a tool-using animal. Without tools he is nothing, with tools he is all.
This book is about the techniques of using tests to guide the development of object-oriented software, not about specific technologies. To demonstrate the techniques in action, however, we’ve had to pick some technologies for our example code. For the rest of the book we’re going to use Java, with the JUnit 4, Hamcrest, and jMock2 frameworks. If you’re using something else, we hope we’ve been clear enough so that you can apply these ideas in your environment.
In this chapter we briefly describe the programming interfaces for these three frameworks, just enough to help ...