Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore AssertJ's fluent assertions API in this 48-minute conference talk that demonstrates how to write more expressive and informative test assertions. Compare AssertJ with alternatives like JUnit and Hamcrest to understand how subtle differences can dramatically improve your testing experience, particularly when tests fail and provide meaningful error messages instead of generic "Expected 'true', was 'false'" outputs. Discover the MockMvcTester added to Spring Boot 3.4 and learn how to achieve unified fluent assertions across all your tests. Master optimization techniques for existing AssertJ users to create more expressive assertions and generate meaningful error messages from current test suites. Learn to apply OpenRewrite recipes that automatically implement these best practices across your codebase and maintain them continuously going forward.
Syllabus
Better Assertions with AssertJ by Tim te Beek @ Spring I/O 2025
Taught by
Spring I/O