Skill 3.2.2

Design a comprehensive testing strategy, including local tests, unit tests, integration tests, and load tests

Key Concepts

Local tests run on a developer's machine before a push, including pre-commit hooks. Unit tests are fast and isolated, integration tests check that components work together, and load tests check behaviour under demand.

The test pyramid favours many fast tests and few slow ones. Fast tests run on each pull request, integration tests run after deployment to a test environment, and load tests run before major releases or on a schedule.