6 / 11 · Book 17 · Branching Strategies← prev⊞ allnext →Get the book →
1.6Adapting Your Test Plan to the Strategy
Different branching strategies require different test execution timing:
| Strategy | Unit Tests | Integration Tests | E2E Tests | Full Regression |
|---|---|---|---|---|
| GitFlow | On every push | On PR to develop | On PR to develop | On release branch, before merge to main |
| GitHub Flow | On every push | On every PR | On every PR | On merge to main (pre-deploy) |
| Trunk-Based | On every push | On every push or PR | On merge to main | Continuously (every deploy) |