Chapter 1

Introduction

Testing is important. All software developers know it, but (hardly) anyone does it.1 Luckily, you have bought this book and therefore don’t belong to this ignorant crowd;-)

There are many reasons for the poor interest of programmers in the quality of their own products. Education plays an important role. Academically educated computer scientists hear of the fact that software has to be tested mostly as a theoretical topic within their two-semester software course. The autodidacts among programmers normally find nothing in their textbooks and programming books, except a note that programs should “of course” be thoroughly tested. Only you won’t find how and why in these books, with a few praiseworthy exceptions, like those ...

Get Unit Testing in Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.