Testing
Lesson 35 of 40 · Sys.Micro
A pyramid of fast, focused tests — plus contract and load tests for distributed systems.
The team tests mostly through the browser: 400 end-to-end tests that take 90 minutes and fail randomly 5% of the time. Developers rerun them until green and stop trusting the results.
The test pyramid: many unit, fewer integration, few end-to-end
Integration tests with real dependencies in containers
Load tests and testing failure on purpose
Check yourself
Two services are developed by different teams. What catches an incompatible API change before deploy, without running both together?
Do it in the browser: a real system design tool, a short mission and instant feedback. No install.
Start this lesson — free