Skip to content
SP StackPractices

Tag: junit5

Browse 3 practical software engineering resources tagged with "junit5". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving junit5.

JUnit5 Soft Assertions with AssertJ

How to use AssertJ soft assertions in JUnit5 to collect multiple assertion failures in a single test instead of stopping at the first failure.

Java Testcontainers Integration Tests

How to use Testcontainers in JUnit5 to spin up real Postgres, Redis, and Kafka containers for integration tests that are reliable and reproducible.

JUnit 5: Extensions, Parameterized Tests, Dynamic Tests

Master JUnit 5 for modern Java testing: extensions model, parameterized tests, dynamic tests, test interfaces, lifecycle, conditional execution, and JUnit Platform integration.