After

Up until this chapter, it’s been only you and us (the authors) working together to learn about and practice unit testing. We looked up from our monitors, however, and realized there’s a team around us. In reaction, we talked about some considerations for adopting unit testing in your team.

This book is a short, speedy tour of many the practices, concepts, and recommendations for unit testing. It’s enough to get you on your way to improving the quality of your software in a professional capacity. The best things you can do with the information you’ve gleaned here is to start writing tests against the code you produce and keep writing tests with an eye to making them better each time.

The next-best thing you can do is to continually to seek ...

Get Pragmatic Unit Testing in Java 8 with JUnit 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.