6 / 57 · 17 Git & Version Control · Branching Strategies← prev⊞ allnext →☰ Read as one page
1.6Adapting Your Test Plan to the Strategy
| Strategy | When to Run Unit Tests | When to Run Integration Tests | When to Run E2E Tests | When to Run 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) |