Testautomatisering — kjøring av tester automatisk (i CI/CD) i stedet for manuelt — er essensielt for rask, pålitelig og hyppig testing i stor skala. Å bygge det effektivt innebærer å velge hva som skal automatiseres, strukturere vedlikeholdbar automatisering, og integrere det i utviklingsprosessen.
Hva som skal automatiseres (og hva som ikke skal)
AUTOMATE:
✓ REGRESSION tests (run constantly to catch breakage) — the biggest win
✓ Repetitive, stable, frequently-run tests; unit/integration tests; critical flows
DON'T necessarily automate:
✗ Exploratory testing, usability, one-off checks, highly unstable/changing features
→ manual testing still has a place (exploratory, UX, edge judgment)
→ Automate what's repetitive and valuable to run often; not everything.
