Automated testing, and unit testing in particular, is now universally regarded as a best practice for software development. A number of testing frameworks are available. There remains plenty of room to debate the merits of unit testing versus integration testing; whether to mock objects with frameworks like Mockito or to take a more classic approach with basic stubs; when to apply test-driven development (TDD); whether behavior-driven development (BDD) will become commonplace; and so on.
Throughout this book, ...