Automação de testes — executar testes automaticamente (em CI/CD) em vez de manualmente — é essencial para testes rápidos, confiáveis e frequentes em escala. Construir isso efetivamente envolve escolher o que automatizar, estruturar automação mantível e integrá-la ao processo de desenvolvimento.
O que automatizar (e o que não automatizar)
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.
