First things first
  • Introduction
  • Unit testing theory
  • Getting ready for the course
  • Using IntelliJ instead of Eclipse
JUnit 5 – Basics
  • First unit test
  • First unit test in IntelliJ IDEA
  • Best practices
  • Test exceptions
  • Test with multiple assertions
  • Test null values
  • Test array equality
  • @BeforeEach and @AfterEach
  • @BeforeAll and @AfterAll
JUnit 5 – More Advanced Concepts
  • Parameterized Tests – ValueSource
  • Parameterized Tests – CsvSource
  • Parameterized Tests – CsvFileSource
  • Repeated tests
  • Test performance
  • Assumptions
  • Organise your code with @Nested
  • Other annotations
  • Summary
  • JUnit 5 Cheat Sheet and Source Code
  • Where to go next?
  • Bonus Lecture
  • LinkedIn: Show your new skills!
Additional videos
  • JUnit 5 vs. JUnit 4
  • Test-Driven Development (TDD)
Exercises
  • JUnit 5 Quiz
  • Write unit tests for RealEstateApp
  • Write unit tests for RealEstateApp - solution