Testna strategija определя, kako projekt zagotavlja kakovost — kaj testirati, na katerih ravneh, koliko, s katerimi orodji in procesi. Dobra strategija uravnoteži temeljitost s stroški in preusmeri testno delo tja, kjer ima največ vrednosti.
Elementi testne strategije
✓ 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
