ٹیسٹنگ فریم ورکس وہ ٹولز ہیں جو ٹیسٹ لکھنے اور چلانے کے لیے ڈھانچہ اور utilities فراہم کرتے ہیں — ٹیسٹ کی تنظیم، assertions، چلانا، رپورٹنگ، اور مزید۔ ہر زبان کے پاس مشہور فریم ورکس ہیں (Jest، JUnit، pytest، وغیرہ)۔ وہ ٹیسٹنگ کو عملی اور معیاری بناتے ہیں۔
ٹیسٹنگ فریم ورکس کیا فراہم کرتے ہیں
✓ TEST STRUCTURE — define tests and group them (test/it, describe/suite)
✓ ASSERTIONS — check expected outcomes (expect, assert) with helpful matchers
✓ TEST RUNNER — discover, run all tests, and report pass/fail results
✓ SETUP/TEARDOWN — run code before/after tests (beforeEach, afterEach) for shared setup
✓ MOCKING — create test doubles (mocks, stubs, spies) for dependencies
✓ REPORTING — clear output, failure details, coverage integration
