Introduction to Testing in Java

by Richard Warburton

The easiest and most pleasant way to get started with unit testing, JUnit, and Test Driven Development (TDD) that you could imagine.

What you'll learn

This course introduces why you want to write automated tests for your code and how to implement this in Java, covering fundamentals of how to write simple tests using JUnit and Hamcrest, through Test Driven Development (TDD) and then explains how to structure your code and design in order to make testing easier.

About the author

Richard is an empirical technologist and solver of deep-dive technical problems and works independently as a Software Engineer and Trainer. Recently he has written a book on Java 8 Lambdas for O'Reilly and teaching people via and Pluralsight. He's worked as a developer in diverse areas including Statistical Analytics, Static Analysis, Compilers, and Network Protocols. He is a leader in the London Java Community and runs Java Hackdays. Richard is also a known conference speaker,... more

Ready to upskill? Get started