Continuous integration (CI) automates test runs as code changes are pushed, helping teams catch problems early. Git hooks can also run tests locally before a commit or push. section 11.7
Common ways to automate test runs include:
- A Git pre-commit hook runs non-API tests and prevents the commit if they fail. section 11.7
- A pre-push hook can run tests before code is pushed; CI services such as GitHub Actions can run tests on pushes and notify teams of failures. section 11.7
Figure 11.5 Flowchart showing how the app code and test code evolve.
The flowchart shows how app code and tests evolve together. section 11.7





























