Testautomation — at køre tests automatisk (i CI/CD) i stedet for manuelt — er essentielt for hurtig, pålidelig og hyppig testing i stor skala. At bygge det effektivt omfatter valg af hvad der skal automatiseres, strukturering af vedligeholdelsesvenlig automation og integration i udviklingsprozessen.
Hvad skal automatiseres (og hvad ikke)
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.
