Strategija testiranja definira kako projekt osigurava kvalitetu — što testirati, na kojim razinama, koliko, s kojim alatima i procesima. Dobra strategija uravnotežava temeljitost s troškovima, fokusirajući napor testiranja gdje pruža najveću vrijednost.
Elementi strategije testiranja
✓ 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
