DIY (Do-it-Yourself) Testing
summary
The drivers team builds a language-agnostic test system: a YAML test format and reusable harnesses that run unit tests (mocked server responses) and integration tests against real clusters created by Mongo Orchestration, a Python REST service that starts MongoDB processes and blocks until replica sets are ready. Ten official drivers share the same tests, enabling multi-version testing, reproducing failover scenarios, eliminating version-specific startup logic, and materially reducing cross-driver inconsistencies.
AI-written summary · about
chapters (5)
- 0:00Introduction to DIY testing
- 7:27Driver specifications and consistency
- 13:52Custom test framework design
- 23:13Integration testing with orchestration
- 34:42Conclusion and resources
related talks
42mCat-herd's Crook: Enforcing Standards in 10 Programming Languages
50mLevel Up Your Automated Tests
30mRelease Responsibly
25mTesting in production: Ideas, experiences, limits, roadblocks
42mReliable and Maintainable Webdriver Tests
30mUsing Docker & Compose to Simplify Integration Testing
28mHow Not-To Test in Production: Learnings from DoorDash
49mEvent Driven Architecture: Love Triangle in Integration Testing
