L'automazione dei test — eseguire i test automaticamente (in CI/CD) piuttosto che manualmente — è essenziale per test veloci, affidabili e frequenti su larga scala. Costruirla in modo efficace comporta scegliere cosa automatizzare, strutturare l'automazione in modo manutenibile e integrarla nel processo di sviluppo.
Cosa automatizzare (e cosa no)
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.
