Unit testing is a Java best practice that ensures your code is working how it was intended. It is a critical habit that you should develop early on in your coding adventures.
What you'll learn
Defining a Unit
Composition vs. Inheritance
Test fixtures, test suites and the jUnit test runner