Practical Test Driven Development for Java Programmers
This course covers the fundamentals of test driven development for Java programmers… not just the theory, but how to use it in real world project examples. This includes mocking with Mockito. This includes some hands on exercises and how to deal with legacy code that doesn’t have tests in place.
IMPORTANT NOTE ABOUT JAVA VERSIONS – This course has been written using Java 8 and JUnit4. If you use Java 9 or above then by default you’ll get offered JUnit5. You’ll be able to follow along with the course as all the theory is still perfectly valid, however there are some small syntax changes between JUnit4 and JUnit5. If you’re not sure, check the Q&A for this course where you’ll find the answers to these. I’ll be adding some extra lectures to this course to cover the differences with the newer versions of Java/Junit very soon!
Chapter 1 - Introduction
Chapter 2 - JUnit
In this course I use the Eclipse IDE, but if you're using IntelliJ this video will show you how to use JUnit in your IDE