Right way to test your application
summary
Argues for integration tests run in a sandbox mirroring test/production, claiming that testcontainers handles real DBs and services but is slow and heavyweight, and that pact’s consumer‑first workflow is rigid and time consuming. Describes a homegrown Canaveral framework that manages lifecycle: bring up deps, wait for readiness, inject test context beans, expose ports and centralized test properties. Reports Canaveral was adopted across projects and makes debugging and repeatable integration tests practical.
AI-written summary · about
chapters (9)
- 0:00Introduction and speaker background
- 2:05Why tests matter in development
- 7:16Testing microservices and contracts
- 14:48Test pyramid and design guidance
- 17:40Focus on integration testing
- 22:35Managing test execution and environments
- 27:29TestContainers and Docker limitations
- 32:14Canaveral testing framework overview
- 37:41Q&A session
