Topic 7 of 12
Automated Testing
The test pyramid: lots of fast unit tests at the base, fewer integration tests and only a few end-to-end tests at the top.
What to study
Test pyramid
- Unit tests — ~80%
- Integration tests — ~15%
- Functional / E2E tests — ~5%
Visual examples
Functional / E2E~5%
Integration~15%
Unit~80%
The higher up, the slower and more expensive to maintain. The lower down, the faster and more isolated.