A testing strategy tiddefinixxi kif proġett jiżgura l-kwalità — x'għandek tittestja, f'liema livelli, kemm, b'liema tools u proċessi. Strateġija tajba tibbilanċja d-dettall sħiħ mal-ispiża, u tiffoka l-isforz tat-test fejn it-tagħti tal-valur huwa l-akbar.
Elementi ta' strateġija ta' test
✓ 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
