سافٹ ویئر ٹیسٹنگ یہ عمل ہے کہ سافٹ ویئر اپنے مقصد کے مطابق کام کرتا ہے یا نہیں — یہ چیک کرنا کہ یہ صحیح طریقے سے کام کرتا ہے، ضروریات کو پورا کرتا ہے، اور خرابیوں سے پاک ہے۔ قابل اعتماد اور معیاری سافٹ ویئر فراہم کرنے اور مسائل کو صارفین تک پہنچنے سے پہلے پکڑنے کے لیے یہ ضروری ہے۔
ٹیسٹنگ کیا ہے
Testing = systematically VERIFYING software behaves correctly:
→ does it do what it's supposed to? (meets requirements)
→ does it handle edge cases, errors, and invalid input?
→ does a change break existing functionality? (regressions)
→ from manual testing (a person checks) to AUTOMATED tests (code that checks code)
ٹیسٹنگ کیوں اہم ہے
✓ CATCH BUGS — find defects BEFORE users do (cheaper/easier to fix early than in production)
✓ CONFIDENCE — change/refactor code knowing tests will catch regressions
✓ QUALITY — reliable software; fewer production failures, crashes, data issues
✓ DOCUMENTATION — tests show how code is meant to be used/behave
✓ FASTER long-term — automated tests catch issues quickly vs slow manual re-checking
→ The cost of a bug grows the later it's found (dev < test < production).
