Testautomation — att köra tester automatiskt (i CI/CD) istället för manuellt — är väsentligt för snabb, tillförlitlig och frekvent testning i stor skala. Att bygga det effektivt innebär att välja vad som ska automatiseras, strukturera underhållbar automation och integrera det i utvecklingsprocessen.
Vad ska automatiseras (och vad inte)
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.
