Workshop (Part 2): Stop Writing Tests, Start Writing Specifications!
summary
Shows how to build a TDD cycle from scratch for a Spring Boot app using JUnit 5, covering why tests matter and differences between TDD/Test-first/Test-last and London vs Chicago styles. Explains the red-green-refactor cycle, how to write tests as specifications (test boundaries), use of mocks and test doubles (what to mock and strategies for hard-to-mock code), plus integration testing (REST, messaging), database testing, contracts with third parties, testing trophies vs ice-cream-cone approaches, acceptance/E2E tests, and dealing with legacy code.
AI-written summary · about
chapters (7)
- 0:00Workshop introduction
- 10:13Test process and prep
- 22:54London testing approach
- 39:00Database testing
- 53:51Adding app security
- 1:09:57Spring Security setup
- 1:15:23Summary








