3.1.2. Testing Strategy for Pipelines
Testing in pipelines serves two purposes: catching bugs before they reach production and providing evidence for compliance. This section covers quality gates that automate both functions, the testing pyramid that allocates effort efficiently, and the specific testing patterns — contract tests, test isolation, flaky test management — that keep pipelines trustworthy.