Spring Boot 4 Testing: The Complete Course (Java 21, JUnit 6, Mockito, Testcontainers)

Learn to test a Spring Boot 4 app from zero, in 8 short episodes. Beginner friendly, and built on the latest stack: Spring Boot 4.1, Java 21, JUnit 6, AssertJ, Mockito 5, Testcontainers 2 and PostgreSQL 17.

Free · 8 chapters · 0 code examples · 0 interview answers

FreeStart with chapter 1Read now · Watch soon · Listen soonStart the course
Part 1 · Beginner

Getting started

The app, HTTP, the versions, and why we test

Start part 1
  1. 01The app, HTTP and what changed in Spring Boot 4
  2. 02Why we test: one bug, one test, the test pyramid