Uma estratégia de testes define como um projeto garante a qualidade — o que testar, em quais níveis, quanto testar, com quais ferramentas e processos. Uma boa estratégia equilibra a abrangência com o custo, focando o esforço de testes onde oferece mais valor.
Elementos de uma estratégia de testes
✓ WHAT to test → critical functionality, risky/complex areas, core business logic
(prioritize by RISK and value — you can't test everything)
✓ LEVELS → the test pyramid: many unit, some integration, few E2E (balance coverage/cost)
✓ TYPES → functional + non-functional (performance, security) as needed
✓ TOOLS/frameworks → appropriate for the stack; CI integration
✓ PROCESS → when tests run (CI on every change), coverage expectations, who owns tests
✓ AUTOMATION vs manual → automate regression/repetitive; manual for exploratory/usability
