Help—I can't stand my Spring integration tests anymore, and neither can my CI!
summary
Practical guide to fixing slow, flaky Spring integration tests that bloat CI. Covers common problems (frequent context invalidation, expensive/misused dependencies like databases, and duplicated tests) and demonstrates a refactoring live-coding approach with concrete best practices to reduce execution time and resource waste so teams can regain control of their test suite.
AI-written summary · about
chapters (11)
- 0:00Spring integration tests
- 2:29Spring Boot basics
- 7:02Mockito external deps
- 9:49Database handling
- 13:42Test cleanup
- 17:29Assertion best practices
- 23:52Test readability
- 30:12Faster tests
- 37:35Smaller context
- 43:08Test strategy
- 46:41Conclusion
related talks
47mScaling Integration Tests: Parallel Spring Tests with JUnit & Testcontainers
53mTesting Spring Boot Applications Demystified
01h 02mContinuous Integration: Tips & Tricks
01h 00mAutomation Engineer’s Way to Continuous Integration
02h 43mSpring Boot testing: Zero to Hero
19mAvoiding work is work - but it pays off!
26mRemoving Complexity from Integration Tests Using Testcontainers
41mContinuous Integration Tips & Tricks
