सॉफ़्टवेयर टेस्टिंग लाइफ़ साइकल (STLC)

सॉफ़्टवेयर टेस्टिंग लाइफ़ साइकल (STLC) टेस्ट गतिविधियों का वह क्रमबद्ध समूह है जिससे टीम किसी release, sprint या test level के लिए गुज़रती है: क्या टेस्ट करना है यह समझना, उसकी planning, tests को डिज़ाइन और तैयार करना, environment सेट करना, execution और defects को संभालना, और report व सीखों के साथ चक्र बंद करना। हर चरण इनपुट लेता है, work products बनाता है, और उसके ऐसे मानदंड होते हैं जो बताते हैं कि वह कब शुरू हो सकता है और कब पूरा है।

यह गाइड हर चरण को उन कामों के साथ दिखाती है जो टेस्टर सच में करता है, व्यावहारिक entry और exit criteria, आम आउटपुट और वे गलतियाँ जो चक्र को विफल करती हैं — और इंडस्ट्री के STLC चरणों को ISTQB CTFL v4.0 सिलेबस और ISO/IEC/IEEE 29119-2 में बताई गई test process से मैप करती है।

STLC क्या है — और क्या नहीं

STLC टेस्ट के काम का मॉडल है, कैलेंडर नहीं। Sequential प्रोजेक्ट में हर चरण हफ़्तों का हो सकता है और चरण ज़्यादातर क्रम से चलते हैं; दो हफ़्ते के sprint में छहों चरण हर story के लिए होते हैं, अक्सर कुछ ही दिनों में, और कई एक-दूसरे पर चढ़ जाते हैं। चरणों का तार्किक क्रम है — जो test डिज़ाइन ही नहीं हुआ उसे execute नहीं कर सकते — पर व्यवहार में वे iterative और overlapping होते हैं। CTFL v4.0 अपनी test activities के बारे में यही कहता है: वे अक्सर iterative या समानांतर रूप में चलती हैं, और उन्हें करने का तरीक़ा संदर्भ के हिसाब से ढाला जाता है।

चक्र nested भी होता है। एक release का test cycle होता है; उसके भीतर हर test level (component integration, system, acceptance) का अपना हो सकता है; और हर defect fix confirmation testing और regression testing का एक छोटा चक्र शुरू करता है। इसे lifecycle बनाने वाली बात यह है कि हर चक्र बंद होता है: कोई exit criteria जाँचता है, दर्ज करता है कि क्या टेस्ट हुआ और क्या नहीं, और hand-over करता है।

  • डेवलपमेंट के बाद का चरण नहीं — requirements मौजूद होते ही requirement analysis शुरू हो जाता है।
  • सिर्फ़ execution नहीं — analysis, design और तैयारी तय करते हैं कि execution कुछ ढूँढने लायक पाएगा या नहीं।
  • Documentation की कवायद नहीं — कितना लिखा जाए यह संदर्भ पर निर्भर है: regulated सिस्टम को औपचारिक रिकॉर्ड चाहिए, छोटी product टीम के लिए एक पेज का plan काफ़ी हो सकता है।
  • सिर्फ़ टेस्टर का नहीं — component tests डेवलपर चलाते हैं, acceptance प्रोडक्ट ओनर देते हैं, environments में operations मदद करता है।
तार्किक क्रम, कैलेंडर नहीं: चरण हर sprint, release और test level में overlap होते और दोहराए जाते हैं।
  1. 1Requirement analysis≈ Test analysis
  2. 2Test planning≈ Test planning
  3. 3Test case development≈ Test design + implementation
    आमतौर पर समानांतर
    • 4Test environment setup≈ Test implementation: environment
  4. 5Test execution और defect management≈ Test execution

    दोहराता है: हर defect fix: confirmation testing, फिर regression testing

  5. 6Test cycle closure≈ Test completion

चरण 2–6 के दौरान Test monitoring और test control — STLC में इनका अपना चरण नहीं; ये planning से completion तक चलते हैं।

इसके बाद:अगले चक्र में: regression suite में नए tests और हर escaped defect जुड़ते हैं

STLC चरणों की ISTQB test process से मैपिंग

“STLC” इंडस्ट्री का शब्द है; ISTQB इसे परिभाषित नहीं करता। CTFL v4.0 सिलेबस सात गतिविधि-समूहों वाली test process बताता है, और ISO/IEC/IEEE 29119-2 test management processes (test strategy और planning, monitoring और control, completion) और dynamic test processes बताता है। यह टेबल तीनों शब्दावलियों को जोड़ती है ताकि आप job description, ISTQB परीक्षा और मानकों पर आधारित क्वालिटी सिस्टम के बीच आसानी से आ-जा सकें।

  • Requirement analysis — ISTQB में: test analysis (क्या टेस्ट करना है); ISO/IEC/IEEE 29119-2 में: test design & implementation process के शुरुआती क़दम।
  • Test planning — ISTQB में: test planning; 29119-2 में: test strategy & planning process।
  • Test case development — ISTQB में: test design (कैसे टेस्ट करना है) और testware तैयार होने तक test implementation; 29119-2 में: test design & implementation process।
  • Test environment setup — ISTQB में: test implementation का environment वाला हिस्सा; 29119-2 में: test environment & data management process।
  • Test execution — ISTQB में: test execution; 29119-2 में: test execution process और test incident reporting process।
  • Test cycle closure — ISTQB में: test completion; 29119-2 में: test completion process।
  • Monitoring और control का STLC में कोई चरण नहीं: ये planning से completion तक चलते हैं, असल प्रगति की plan से तुलना करते हैं और सुधार के क़दम उठाते हैं।
  • ISTQB test analysis (क्या टेस्ट करना है — प्राथमिकता वाली test conditions) को test design (कैसे टेस्ट करना है — test cases, coverage items, test data की ज़रूरतें, environment design) से अलग रखता है।
  • ISTQB की test implementation में चलाने के लिए ज़रूरी सब कुछ आता है: test data, test procedures, manual और automated scripts, test suites, execution schedule, और बना हुआ व जाँचा हुआ test environment। STLC environment को अलग चरण में निकाल देता है।
  • Test analysis ख़ुद test basis का भी दोषों के लिए मूल्यांकन करता है — वही विचार जो STLC के requirement analysis में है।
Industry STLC phase      | ISTQB CTFL v4.0 test activity             | ISO/IEC/IEEE 29119-2 process
-------------------------|-------------------------------------------|------------------------------------------
Requirement analysis     | Test analysis ("what to test")            | Test design & implementation (first steps)
Test planning            | Test planning                             | Test strategy & planning
(runs throughout)        | Test monitoring and test control          | Test monitoring & control
Test case development    | Test design ("how to test")               | Test design & implementation
                         | Test implementation (testware ready)      |
Test environment set-up  | Test implementation (environment ready)   | Test environment & data management
Test execution           | Test execution                            | Test execution; test incident reporting
Test cycle closure       | Test completion                           | Test completion

चरण 1 — Requirement analysis (test analysis)

टेस्टर test basis पढ़ता है — user stories, specifications, designs, API contracts, लागू नियम — और दो सवालों के जवाब देता है: यहाँ क्या टेस्ट किया जा सकता है, और basis में ही क्या गलत या अधूरा है। आउटपुट है risk के हिसाब से प्राथमिकता वाली test conditions की सूची, और requirements में सवालों व दोषों की सूची।

उदाहरण के लिए, “ग्राहक shipping से पहले order cancel कर सकते हैं” से टेस्टर ये conditions निकालता है: pending order cancel करना; shipped order cancel करने की कोशिश; आंशिक रूप से shipped order cancel करना; refund की राशि और तरीक़ा; भेजा गया notification; और किसी दूसरे ग्राहक का order cancel करने की कोशिश। इनमें से दो का जवाब story में नहीं है, इसलिए कोई test case लिखने से पहले वे सवाल बन जाते हैं।

  • काम — scope में और scope से बाहर के फ़ीचर तय करना; test conditions निकालना; untestable कथनों को चिह्नित करना; छिपी non-functional ज़रूरतें सामने लाना (performance, security, accessibility, अरबी और RTL); requirements traceability matrix शुरू करना; product risk को likelihood × impact से आँकना।
  • Entry criteria — scope के लिए requirements या backlog items उपलब्ध हैं; प्रोडक्ट ओनर या analyst सवालों के जवाब दे सकते हैं।
  • Exit criteria — scope की हर requirement की test conditions हैं या एक दर्ज खुला सवाल; अस्पष्टताओं का जवाब मिल गया या उन्हें risk के रूप में स्वीकार किया गया; traceability matrix शुरू हो गई।
  • आम दोष — “REQ-14: refund ‘उचित समय में’ — कोई संख्या नहीं”; “REQ-22 और REQ-31 इस पर विरोधाभासी हैं कि guest users cancel कर सकते हैं या नहीं”।

आज़माएँ: AI Requirement अस्पष्टता डिटेक्टर आज़माएँ: Requirements → टेस्ट सिनेरियो

चरण 2 — Test planning

Planning scope, approach, संसाधन, schedule और वे मानदंड तय करती है जो चक्र ख़त्म करेंगे। Test plan दस्तावेज़ की बनावट test plan गाइड में है और संगठन-स्तर की approach test strategy गाइड में; यहाँ अहम यह है कि design शुरू होने से पहले planning को क्या तय कर देना चाहिए।

अनुमान किसी घोषित तकनीक से आने चाहिए, अंदाज़े से नहीं। CTFL v4.0 चार तकनीकें बताता है: ratios पर आधारित estimation, extrapolation, Wideband Delphi और three-point estimation। Project risks (देर से आया build, उपलब्ध न होने वाला sandbox, छुट्टी पर गया टेस्टर) plan में contingency के साथ होने चाहिए, उन product risks के बगल में जो test priorities तय करते हैं।

  • Plan तय करता है — scope और बाहर रखी चीज़ें; test levels और types; हर risk स्तर के लिए approach; entry और exit criteria; environments और test data; roles; schedule और estimates; tools; risks और contingencies; reporting की आवृत्ति।
  • Entry criteria — scope इतना ज्ञात है कि अनुमान लगाया जा सके; test strategy या policy उपलब्ध है; टीम और timeline ज्ञात हैं।
  • Exit criteria — plan की समीक्षा उन stakeholders ने की और उसे मंज़ूर किया जो उस पर काम करेंगे; आगे के चरणों के entry और exit criteria तय हैं; environment और data के अनुरोध भेजे जा चुके हैं।

आज़माएँ: रिस्क-बेस्ड टेस्ट जनरेटर

चरण 3 — Test case development (design और implementation)

Test conditions, test design techniques के ज़रिए test cases बनती हैं: specification-based design के लिए equivalence partitioning, boundary value analysis, decision tables और state transition testing; experience-based design के लिए error guessing, exploratory और checklist-based testing। एक अच्छा test case कैसे लिखें, यह test case गाइड में है। फिर implementation cases को procedures और suites में संगठित करता है, test data बनाता है, automated scripts लिखता है और execution का क्रम तय करता है। Requirement से condition और condition से case तक traceability बनी रहती है।

नीचे का उदाहरण REQ-07 (“shipment से पहले order cancel किया जा सकता है”) से निकले पाँच test cases दिखाता है, हर एक के साथ वह technique या risk जिससे वह आया: PENDING order cancel करने पर status CANCELLED और पूरा refund (valid equivalence partition); SHIPPED order cancel करने पर 409 (invalid partition); किसी दूसरे ग्राहक का order cancel करने की कोशिश पर 403 और status में कोई बदलाव नहीं (security); एक साथ आए दो cancel requests पर सिर्फ़ एक refund (concurrency); और 0.01 व 99,999.99 SAR की सीमा वाली राशियों का सटीक refund (boundary value analysis)।

  • Entry criteria — plan मंज़ूर है; scope का test basis design के लायक स्थिर है; design techniques तय हैं।
  • Exit criteria — हर high-risk condition का कम से कम एक test case है; cases का peer review हुआ है; test data तैयार है; automated checks commit हो चुके हैं; traceability matrix में scope की कोई requirement बिना coverage के नहीं; suites और execution का क्रम तय है।
REQ-07  Order can be cancelled before shipment
  TC-07-01  Cancel order in status PENDING      -> status CANCELLED, full refund        (EP valid)
  TC-07-02  Cancel order in status SHIPPED      -> 409 "Order already shipped"          (EP invalid)
  TC-07-03  Cancel another customer's order     -> 403, no state change                 (security)
  TC-07-04  Two cancel requests in parallel     -> one refund only                      (concurrency)
  TC-07-05  Refund for totals SAR 0.01 and 99,999.99 -> exact amounts refunded           (BVA)

आज़माएँ: Requirements → टेस्ट केस आज़माएँ: बाउंड्री वैल्यू एनालिसिस आज़माएँ: टेस्ट डेटा फ़ैक्टरी

चरण 4 — Test environment setup

Test environment वह सब कुछ है जिस पर test चलता है: servers या devices, test हो रहा build, configuration, network, databases और उनका डेटा, test accounts, third-party sandboxes या mocks, और नतीजे देखने के tools। इसे आमतौर पर test case development के समानांतर तैयार किया जाता है, और execution शुरू होने से पहले एक छोटे smoke test से जाँचा जाता है। जो environment production से किसी अहम तरीक़े से अलग हो, वह झूठे pass और झूठे fail देता है।

  • Readiness checklist — test हो रहा version deploy और दर्ज है; जहाँ व्यवहार पर असर हो वहाँ configuration production से मेल खाता है (feature flags, locale, time zone); data baseline लोड है और restore हो सकता है; third parties sandbox या mock में हैं, उनकी failures समेत; हर role के लिए test account है; टेस्टर logs पढ़ सकते हैं।
  • Entry criteria — environment की ज़रूरतें plan में हैं; infrastructure, sandboxes और test accounts के access का अनुरोध भेजा जा चुका है। Deploy करने लायक build इस चरण को पूरा करने के लिए चाहिए, शुरू करने के लिए नहीं।
  • Exit criteria — smoke test पास है; readiness checklist पर sign-off है; data baseline माँगने पर restore हो सकता है।
  • आम दोष — “Staging UTC पर चलता है जबकि production Asia/Riyadh इस्तेमाल करता है; ‘आज के orders’ फ़िल्टर तीन घंटे खिसक जाता है।”

आज़माएँ: API हेल्थ चेकर आज़माएँ: Mock API रिस्पॉन्स जनरेटर

चरण 5 — Test execution और defect management

Execution tests को नियोजित क्रम में चलाता है, वास्तविक और अपेक्षित परिणामों की तुलना करता है, और हर नतीजे को passed, failed, blocked या not run के रूप में दर्ज करता है। हर failure का विश्लेषण होता है — product defect, test defect, या environment/data की समस्या — और product defects reproducible steps, सबूत, severity और priority के साथ रिपोर्ट होते हैं। Fixed defects दोबारा टेस्ट होते हैं (confirmation testing) और बदलाव के आसपास के हिस्से फिर जाँचे जाते हैं (regression testing)।

Execution के दौरान monitoring और control रोज़ होते हैं: प्रगति की plan से तुलना होती है, और test lead कमियों पर क़दम उठाता है — priorities बदलना, अस्थिर हिस्से पर exploratory session जोड़ना, या blocker को escalate करना। इसके बाद defect reports उस defect lifecycle और triage से गुज़रती हैं जो उनकी अपनी गाइड में हैं; रिपोर्ट कैसे लिखें यह bug report गाइड बताती है।

नीचे का उदाहरण Release 3.8 के system test के 10 में से छठे दिन की रोज़ की status report है: 260 में से 205 tests चले (79%) — 188 pass, 17 fail, 7 blocked और 48 अभी नहीं चले; खुले defects में 0 blocker, 2 critical, 6 major और 9 minor हैं; और 44 में से 41 high-risk requirements का कम से कम एक test pass हुआ है। Report blocker का नाम (payment sandbox हर card type के लिए 503 लौटाता है) और उठाए गए क़दम भी बताती है। ध्यान दें कि यह सिर्फ़ चलाए गए test cases नहीं, cover हुआ risk भी दिखाती है।

  • Entry criteria — environment के exit criteria पूरे हैं और smoke test पास हुआ; test cases और डेटा तैयार हैं; test हो रहे build के release notes हैं।
  • Exit criteria — नियोजित tests चले या स्पष्ट फ़ैसले से descope हुए; सभी failures का विश्लेषण हुआ और defects दर्ज हुए; कोई खुला blocker या critical defect नहीं (या दर्ज risk acceptance); regression suite हरा है।
Cycle: Release 3.8 — system test, day 6 of 10
Executed: 205 / 260 (79%)   Passed: 188   Failed: 17   Blocked: 7   Not run: 48
Open defects: Blocker 0 · Critical 2 · Major 6 · Minor 9
High-risk requirements with a passed test: 41 / 44
Blocked by: DEF-311 payment sandbox returns 503 for all card types
Actions: refunds exploratory session moved to day 7; retest DEF-298 and DEF-301 today

आज़माएँ: AI बग विवरण जनरेटर आज़माएँ: AI बग गंभीरता सुझाव आज़माएँ: रिग्रेशन सिनेरियो जनरेटर

चरण 6 — Test cycle closure (test completion)

Closure तब होता है जब exit criteria पूरे हों या stakeholders रुकने का फ़ैसला करें। CTFL v4.0 test completion के काम गिनाता है: सुनिश्चित करना कि अनसुलझे defects change requests या backlog items बनें, रखने लायक testware पहचानकर archive या hand over करना, environment को तय स्थिति में बंद करना, सीखों के लिए test activities का विश्लेषण करना, और test completion report बनाकर साझा करना।

  • Completion report में — plan के मुक़ाबले की गई टेस्टिंग और कोई विचलन; exit criteria के विरुद्ध क्वालिटी का आकलन; खुले defects और उनका risk; बचे हुए risks; मुख्य माप (requirement coverage, severity के हिसाब से defects, पिछली release से escape हुए defects); एक सिफ़ारिश, जबकि release का फ़ैसला stakeholders का ही रहता है।
  • Entry criteria — execution पूरा हुआ या फ़ैसले से रोका गया; exit criteria का मूल्यांकन हो चुका है।
  • Exit criteria — report जारी हुई; testware archive हुआ; regression suite में नए tests और हर escaped defect शामिल है; retrospective से निकले सुधार-कामों के owners हैं।

आज़माएँ: AI टेस्ट कवरेज एनालाइज़र

हर चरण के entry और exit criteria एक नज़र में

मानदंड तभी काम करते हैं जब वे मापने योग्य हों और किसी को छोड़ना चुपचाप चूक नहीं बल्कि दिखने वाला फ़ैसला हो। Agile टीमों में यही विचार Definition of Ready (story के लिए entry) और Definition of Done (exit) के रूप में आता है।

  • Requirement analysis — entry: scope की stories या specs उपलब्ध हैं और सवालों के लिए प्रोडक्ट ओनर मिल सकता है। Exit: scope की हर requirement की test conditions हैं या एक दर्ज खुला सवाल।
  • Test planning — entry: scope और timeline ज्ञात हैं, strategy उपलब्ध है। Exit: plan मंज़ूर है, entry/exit criteria तय हैं, environment और डेटा के अनुरोध भेजे जा चुके हैं।
  • Test case development — entry: plan मंज़ूर है और scope का test basis स्थिर है। Exit: high-risk conditions कवर हैं, cases का review हुआ है, डेटा और automated checks तैयार हैं, RTM अपडेट है।
  • Environment setup — entry: environment की ज़रूरतें plan में हैं और access के अनुरोध भेजे जा चुके हैं। Exit: smoke test पास है, data baseline restore हो सकता है, third parties sandbox या mock में हैं।
  • Test execution — entry: smoke test पास है; cases, डेटा और release notes तैयार हैं। Exit: नियोजित tests चले या फ़ैसले से descope हुए, कोई खुला blocker या critical defect नहीं, regression suite हरा है।
  • Test cycle closure — entry: execution पूरा हुआ या फ़ैसले से रोका गया। Exit: completion report जारी हुई, testware archive हुआ, सीखों से निकले कामों के owners हैं।
Phase                  | Entry criteria (example)                          | Exit criteria (example)
-----------------------|---------------------------------------------------|------------------------------------------------
Requirement analysis   | Stories/specs available for the scope;            | Every in-scope requirement has test conditions
                       | product owner reachable for questions             | or a logged open question
Test planning          | Scope and timeline known; strategy available      | Plan approved; entry/exit criteria agreed;
                       |                                                   | environment and data requested
Test case development  | Plan approved; test basis stable for the scope    | High-risk conditions covered; cases reviewed;
                       |                                                   | data and automated checks ready; RTM updated
Environment set-up     | Environment spec in plan; access requested        | Smoke test passes; data baseline restorable;
                       |                                                   | third parties sandboxed or mocked
Test execution         | Smoke passed; cases, data, release notes ready    | Planned tests run or descoped by decision;
                       |                                                   | 0 open Blocker/Critical; regression green
Test cycle closure     | Execution complete or stopped by decision         | Completion report issued; testware archived;
                       |                                                   | lessons learned have owners

Sprint और pipeline में STLC, और आम गलतियाँ

Scrum में चक्र हर story और हर sprint के लिए चलता है: backlog refinement ही requirement analysis है और Definition of Ready उसका exit; sprint planning में sprint के पैमाने पर test planning शामिल है; design और automation sprint के दौरान होते हैं; pipeline environment देती है; execution लगातार चलता है; sprint review और retrospective closure का काम करते हैं। CI/CD में pipeline हर बदलाव पर environment setup और ज़्यादातर execution automate करती है, और इंसानी मेहनत analysis, design, exploratory testing और production signals पढ़ने पर जाती है।

  • Analysis के सवालों के जवाब आने से पहले tests डिज़ाइन करना — जवाब आने पर cases दोबारा लिखे जाते हैं।
  • Exit criteria लिखे गए पर deadline के दबाव में अनदेखे — खुले risk के साथ release तभी जायज़ है जब वह स्पष्ट और दर्ज फ़ैसला हो।
  • Traceability नहीं — कोई नहीं बता सकता कि कौन-सी requirements अनटेस्टेड हैं।
  • Environment setup build आने तक टालना — execution की खिड़की ठीक setup के समय जितनी सिकुड़ जाती है।
  • Closure छोड़ देना — escaped defects कभी regression suite में नहीं आते और वही सबक फिर सीखने पड़ते हैं।
  • Cover हुए risk की जगह चलाए गए test cases की गिनती को प्रगति मानना।

अक्सर पूछे जाने वाले सवाल

STLC के चरण कौन-से हैं?

आमतौर पर पढ़ाए जाने वाले छह चरण हैं: requirement analysis, test planning, test case development, test environment setup, test execution और test cycle closure। Test monitoring और control पूरे समय चलते हैं। चरण एक-दूसरे पर चढ़ते हैं और हर sprint, release और test level के लिए दोहराए जाते हैं।

STLC में entry और exit criteria क्या हैं?

Entry criteria किसी चरण को शुरू करने की पूर्व-शर्तें हैं; exit criteria बताते हैं कि उसे ख़त्म करने के लिए क्या हासिल होना चाहिए। उदाहरण के लिए, test execution तब शुरू हो सकता है जब smoke test पास हो और test data लोड हो, और तब ख़त्म हो सकता है जब सभी नियोजित tests चल चुके हों, कोई blocker या critical defect खुला न हो और regression suite हरा हो।

क्या STLC और ISTQB test process एक ही हैं?

दोनों अलग नामों से वही काम कवर करते हैं। ISTQB CTFL v4.0 test planning, test monitoring और control, test analysis, test design, test implementation, test execution और test completion बताता है। Requirement analysis का मेल test analysis से, test case development का test design और implementation से, environment setup का test implementation के हिस्से से, और closure का test completion से है।

Test analysis और test design में क्या फ़र्क़ है?

Test analysis तय करता है कि क्या टेस्ट करना है: यह test basis से test conditions पहचानता और उनकी प्राथमिकता तय करता है। Test design तय करता है कि कैसे टेस्ट करना है: यह उन conditions को boundary value analysis या decision tables जैसी techniques से test cases और coverage items में बदलता है।

Test closure में क्या होता है?

टीम exit criteria जाँचती है, अनसुलझे defects को backlog items या change requests में बदलती है, उपयोगी testware archive करती है, environment को वापस तय स्थिति में लाती है, retrospective करती है, और खुले risks व release के फ़ैसले के लिए सिफ़ारिश के साथ test completion report जारी करती है।

क्या STLC agile टीमों पर लागू होता है?

हाँ, छोटे पैमाने पर। हर story refinement के दौरान analysis से, sprint के दौरान design और execution से, और Definition of Done, sprint review और retrospective के ज़रिए closure से गुज़रती है। चरण छोटे और ज़्यादा overlapping होते हैं, और CI pipeline environment setup और execution का बड़ा हिस्सा संभालती है।

संदर्भ

  • ISTQB Certified Tester Foundation Level (CTFL) v4.0ISTQB · 2023सॉफ़्टवेयर टेस्टिंग का फ़ाउंडेशन पाठ्यक्रम: टेस्ट स्तर और प्रकार, टेस्ट डिज़ाइन तकनीकें, टेस्ट प्रबंधन और टूल।
  • ISO/IEC/IEEE 29119-2:2021 — Software and systems engineering — Software testing — Part 2: Test processesISO/IEC/IEEE · 2021टेस्ट प्रक्रिया मॉडल: संगठनात्मक, टेस्ट प्रबंधन और dynamic टेस्ट प्रक्रियाएँ, उनकी गतिविधियों और परिणामों के साथ।
  • ISO/IEC/IEEE 29119-3:2021 — Software and systems engineering — Software testing — Part 3: Test documentationISO/IEC/IEEE · 2021टेस्ट दस्तावेज़ों के टेम्पलेट और सामग्री — test policy, strategy, plan, status व completion रिपोर्ट, incident रिपोर्ट।
  • ISTQB GlossaryISTQBटेस्टिंग शब्दों की मानक परिभाषाएँ — टेस्ट केस, रिग्रेशन टेस्टिंग, सेवेरिटी, प्रायोरिटी, बाउंड्री वैल्यू एनालिसिस आदि।
  • Certified Tester Advanced Level Test Management (CTAL-TM) v3.0ISTQB · 2024टेस्टिंग प्रबंधन पर ISTQB का advanced पाठ्यक्रम: टेस्ट योजना और अनुमान, risk-based testing, निगरानी, मेट्रिक्स और रिपोर्टिंग।

अभ्यास

क्या execution तय समय पर शुरू हो? Test cycle की readiness review

आपका काम

आप एक mobile banking app के tester हैं। Release 5.2 scheduled transfers जोड़ती है, और system test execution दो working days बाद शुरू होना planned है। नीचे के material में scope की stories हैं, test plan की risk rating के साथ, और test lead के notes हैं कि test cycle अभी कहाँ खड़ी है।

हर note को STLC में उसकी जगह पर रखें, गाइड में हर चरण के लिए दिए entry और exit criteria से उसे जाँचें, और test lead को सिफ़ारिश भेजें: क्या execution तय समय पर शुरू हो सकता है? काग़ज़-कलम पर काम करें और हर दावे के साथ note number (N1 से N10) लिखें, जैसे किसी असली readiness review में करते हैं। सुबह-सुबह होने वाले run पर N9 का क्या असर है, यह देखने में Timezone कन्वर्टर मदद करता है।

सामग्री
Mobile banking app, release 5.2: scheduled transfers
Scope की stories (test plan से risk rating):
  ST-1  भविष्य की तारीख़ के लिए one-off transfer बनाना (medium)
  ST-2  हर महीने दोहराया जाने वाला recurring transfer बनाना (medium)
  ST-3  Due transfers को due date की सुबह जल्दी चलाना (high)
  ST-4  हर run के बाद ग्राहक को SMS भेजना, run सफल हो या असफल (medium)
  ST-5  Scheduled transfer को चलने से पहले cancel करना (high)

System test execution की planned शुरुआत से दो working days पहले test lead के notes:
  N1   ST-3 में न run का समय है, न time zone। सवाल पाँच दिन पहले product owner
       को भेजा गया, अब तक जवाब नहीं।
  N2   Product owner और QA lead ने test plan का review किया और उसे मंज़ूर किया।
  N3   ST-5 के कोई test cases नहीं; traceability matrix उसे not covered दिखाती है।
  N4   ST-1 से ST-4 के लिए 48 test cases लिखे गए और उनका peer review हुआ।
  N5   Test data: plan के 10 customer accounts में से 6 staging पर हैं; 2 low-balance
       accounts और 2 frozen accounts नहीं हैं।
  N6   Build 5.2.0-rc1 staging पर deploy और दर्ज है; अभी release notes नहीं हैं।
  N7   Smoke test: login और account balance pass; "Create scheduled transfer"
       HTTP 500 लौटाता है।
  N8   Core-banking sandbox काम करता है; SMS gateway न sandbox में है, न mock है।
  N9   Staging UTC में चलता है; production Asia/Riyadh में।
  N10  Plan में execution का exit criterion: "Testing तब ख़त्म होगी जब quality अच्छी हो।"
चरण
  1. N1 से N10 तक हर note के लिए बताएँ कि वह STLC के किस चरण का है और ISTQB CTFL v4.0 की कौन-सी test activity उससे मेल खाती है।
  2. हर note के लिए बताएँ कि वह कौन-सा entry या exit criterion पूरा या अधूरा दिखाता है।
  3. Test execution के entry criteria एक-एक करके जाँचें और फ़ैसला करें: तय समय पर शुरू करें, स्पष्ट फ़ैसले से आंशिक शुरुआत करें, या अभी शुरू न करें।
  4. हर कमी के लिए एक action और उसका owner सुझाएँ, और बताएँ कि वह execution की शुरुआत रोकती है या दर्ज risk के रूप में स्वीकार की जा सकती है।
  5. N10 को इस release के test execution के मापने योग्य exit criteria के रूप में दोबारा लिखें।
मॉडल उत्तर दिखाएँ
मॉडल उत्तर

Steps 1 और 2 — हर note के लिए STLC चरण, brackets में ISTQB test activity, फिर criterion। N1: requirement analysis (test analysis)। यह test basis में एक दोष है; सवाल दर्ज करना सही था, पर ST-3 के लिए, जो high-risk story है, exit criterion "अस्पष्टताओं का जवाब मिल गया या उन्हें risk के रूप में स्वीकार किया गया" पूरा नहीं है। N2: test planning (test planning); "plan की समीक्षा हुई और वह मंज़ूर है" पूरा है। N3: test case development (test design); पूरा नहीं, क्योंकि एक high-risk condition का कोई test case नहीं और traceability matrix में scope की एक requirement बिना coverage के है। N4: test case development (test design); "cases का peer review हुआ है" ST-1, ST-2 और ST-4 के लिए पूरा है, पर ST-3 के वे cases जो run का समय जाँचते हैं, N1 का जवाब आने से पहले डिज़ाइन हुए और उन्हें दोबारा लिखना होगा — गाइड में बताई आम गलतियों में से एक।

N5: test case development और environment setup, दोनों ISTQB की test implementation का हिस्सा, जो test data बनाती है और data baseline लोड करती है; "test data तैयार है" पूरा नहीं और staging पर data baseline अधूरा है, इसलिए इन accounts पर निर्भर negative tests नहीं चल सकते। N6: environment setup (test implementation); test हो रहा version deploy और दर्ज है, जो readiness का एक item पूरा करता है, पर execution का entry criterion "test हो रहे build के release notes हैं" पूरा नहीं। N7: environment setup (test implementation, जहाँ environment जाँचा जाता है); smoke test fail हुआ, इसलिए यह चरण पूरा नहीं हो सकता। N8: environment setup (test implementation); SMS के लिए readiness item "third parties sandbox या mock में हैं, उनकी failures समेत" पूरा नहीं। N9: environment setup (test implementation); "जहाँ व्यवहार पर असर हो वहाँ configuration production से मेल खाता है" पूरा नहीं: Asia/Riyadh, UTC से तीन घंटे आगे है, इसलिए staging पर run का समय और तारीख़ की सीमा production से अलग हैं। उदाहरण के लिए, रियाद में 15 मार्च की 00:30, UTC में 14 मार्च की 21:30 है: रियाद के हर दिन के पहले तीन घंटों में staging पिछली तारीख़ को ही आज मानता है, और server clock के हिसाब से 02:00 पर set job staging पर रियाद के समय से 05:00 पर चलता है, जबकि production में 02:00 पर। N10: test planning (test planning); plan मंज़ूर है (N2), फिर भी "आगे के चरणों के entry और exit criteria तय हैं" सिर्फ़ काग़ज़ पर पूरा है, क्योंकि "quality अच्छी है" को कोई माप नहीं सकता।

Notes की यह सूची ख़ुद test monitoring है: test lead असल स्थिति की plan से तुलना करता है। आपसे जो फ़ैसला माँगा गया है, वह test control है। STLC में इन दोनों का अपना कोई चरण नहीं; दोनों planning से completion तक चलते हैं।

Step 3 — फ़ैसला: execution तय समय पर शुरू न करें। तीनों entry criteria अधूरे हैं: environment के exit criteria पूरे नहीं और smoke test fail हुआ (N5, N7, N8, N9); test cases और data तैयार नहीं (N3, N5); build के release notes नहीं (N6)। अकेला N7 ही फ़ैसला कर देता है: हर story scheduled transfer बनाने से शुरू होती है, इसलिए लगभग हर test case blocked दर्ज होगा, और execution की खिड़की फिर भी सिकुड़ेगी। अकेला N9 हर उस नतीजे को अविश्वसनीय बना देता है जो तारीख़ या समय पर निर्भर है: ST-3 के runs, ST-4 में हर run के बाद का SMS, और ST-1 व ST-2 में भविष्य की तारीख़ की जाँच।

एक उचित विकल्प, अगर test lead और product owner इसे स्पष्ट फ़ैसले के रूप में दर्ज करें: जैसे ही N7 ठीक हो, N9 सुधरे, release notes आ जाएँ और smoke test पास हो, ST-1 और ST-2 के वे test cases शुरू करें जिन्हें सिर्फ़ मौजूद छह accounts चाहिए, और ST-3, ST-4, ST-5 व negative tests को उनकी कमियाँ दूर होने तक रोकें। जब तक N8 ठीक न हो, environment owner से पक्का कर लें कि इनमें से किसी transfer की due date आने पर staging कोई असली SMS न भेज सके। Fail होते smoke test के साथ चुपचाप शुरू कर देना ही वह विकल्प है जो स्वीकार्य नहीं।

Step 4 — actions, owners और क्या हर कमी शुरुआत रोकती है। N7: tester request, response, समय और server log reference के साथ defect दर्ज करता है; failure का विश्लेषण होता है (product defect, environment या data की समस्या) और उसे ठीक किया जाता है, फिर smoke test दोबारा चलता है। यह शुरुआत रोकता है, और इसे risk के रूप में स्वीकार करने से कोई फ़ायदा नहीं, क्योंकि जब तक यह fail है तब तक लगभग कुछ भी टेस्ट नहीं हो सकता; अगर यह product defect है तो संभावित severity Blocker है, क्योंकि यह feature का मुख्य काम रोकता है और पाँचों stories की testing रोक देता है। N9: environment owner staging का time zone production की तरह Asia/Riyadh करता है। यह शुरुआत रोकता है और इसे risk के रूप में स्वीकार नहीं करना चाहिए, क्योंकि time zone ख़ुद test हो रहे व्यवहार का हिस्सा है। N6: development lead rc1 के release notes जारी करता है, उसकी सामग्री और known issues के साथ। यह शुरुआत रोकता है, क्योंकि entry criteria release notes माँगते हैं, पर यह कमी जल्दी दूर हो जाती है, इसलिए यह कभी देरी की वजह नहीं होनी चाहिए।

N3: tester ST-5 के test cases डिज़ाइन करता है — जैसे ऐसा one-off transfer cancel करना जो अभी चला नहीं, recurring transfer cancel करना (और पूछना कि इससे एक run रुकता है या पूरी series), run के समय से ठीक पहले cancel करना, पहले ही चल चुके transfer को cancel करने की कोशिश, किसी दूसरे ग्राहक का scheduled transfer cancel करने की कोशिश — फिर traceability matrix अपडेट करता है और cases का peer review करवाता है। यह ST-5 को रोकता है; ST-5 को छोड़ना सिर्फ़ product owner के स्पष्ट descoping फ़ैसले से स्वीकार्य है। N1: test lead सवाल escalate करता है क्योंकि वह पाँच दिन से रुका है, और product owner run का समय और time zone बताता है; फिर tester ST-3 की test conditions अपडेट करता है और प्रभावित cases दोबारा लिखता है। यह ST-3 के run-time tests रोकता है, जिनका जवाब के बिना कोई expected result नहीं।

N5: tester, staging data संभालने वाले व्यक्ति के साथ, दो low-balance और दो frozen accounts बनाता है और उन्हें restore हो सकने वाले data baseline में जोड़ता है। यह सिर्फ़ negative tests रोकता है: due date पर अपर्याप्त balance, frozen source account, असफल run के बाद का SMS। N8: developers या environment owner SMS gateway के आगे mock या sandbox लगाते हैं, जो errors और timeouts भी लौटा सके और testers को हर message दिखाए। यह ST-4 रोकता है; तब तक staging पर runs fail हो सकते हैं या असली messages भेजने की कोशिश कर सकते हैं। N10: test lead मापने योग्य criteria प्रस्तावित करता है (step 5) और product owner उन्हें execution के पहले दिन से पहले मंज़ूर करता है। यह execution का entry criterion नहीं, इसलिए शुरुआत नहीं रोकता, पर इसके बिना कोई नहीं बता सकता कि execution कब पूरा होगा।

Step 5 — test execution के मापने योग्य exit criteria, उदाहरण के लिए: ST-1 से ST-5 का हर planned test case चला, या product owner के दर्ज फ़ैसले से descope हुआ; traceability matrix में scope की हर requirement का कम से कम एक passed test case है, और ST-3 व ST-5 की हर high-risk test condition का एक passed test case है; हर failure का विश्लेषण हुआ और हर product defect दर्ज हुआ; कोई Blocker या Critical defect खुला नहीं, जब तक stakeholders risk acceptance दर्ज न करें; हर fixed defect confirmation testing में पास हुआ; मौजूदा transfers और payments का regression suite final build पर हरा है। सटीक सीमाएँ टीम तय करती है; अहम यह है कि हर criterion का जवाब हाँ, नहीं या किसी संख्या में हो, और किसी को छोड़ना दर्ज फ़ैसला हो।

अपना जवाब जाँचते समय तीन चूकों पर नज़र रखें: N2 को "planning पूरी हो गई" पढ़ना, जबकि N10 दिखाता है कि exit criteria इस्तेमाल लायक नहीं; N4 (48 reviewed cases) को readiness मान लेना, जबकि high-risk ST-5 का एक भी case नहीं — यानी cover हुए risk की जगह test cases गिनना; और fail होते smoke test के साथ "समय बचाने के लिए फिर भी शुरू करने" का सुझाव देना, जिससे सिर्फ़ blocked नतीजों की एक लंबी सूची बनती है।

इस topic में आपकी प्रगति

QA रोडमैप का हिस्सा

इस गाइड में बताए गए टूल्स

क्रमांकित आवश्यकताओं की सूची को requirement-to-test मैट्रिक्स के साथ ट्रेस करने योग्य टेस्ट केस में बदलें।

टेस्ट डिज़ाइन

requirements में अस्पष्ट, धुँधले या परस्पर विरोधी कथन पकड़ें और Mutqan AI से स्पष्टीकरण के सवाल पाएँ।

आवश्यकता विश्लेषण AI

फ़ीचर को संभावना और प्रभाव के आधार पर स्कोर दें, फिर प्राथमिकता वाला risk-based टेस्ट प्लान जनरेट करें।

टेस्ट डिज़ाइन

सिंथेटिक टेस्ट डेटा की एक ही जगह पर फ़ैक्टरी: users, customers, companies, पते, संख्याएँ, तारीख़ें और स्ट्रिंग — JSON, CSV, SQL या XML में।

टेस्ट डेटा

एक साथ कई API health endpoint जाँचें और स्टेटस, latency तथा pass/fail सारांश पाएँ।

API टेस्टिंग

मोटे-मोटे नोट्स को पूरी बग रिपोर्ट में बदलें: reproduce करने के स्टेप, अपेक्षित बनाम वास्तविक, environment, गंभीरता और attachments चेकलिस्ट।

बग विश्लेषण AI

बदलाव के विवरण और प्रभावित तथा संबंधित मॉड्यूल की सूची से रिग्रेशन सिनेरियो जनरेट करें।

टेस्ट डिज़ाइन

Mutqan AI से requirements या किसी user story की तुलना मौजूदा टेस्ट केस से करके अनटेस्टेड हिस्से खोजें।

टेस्ट ऑप्टिमाइज़ेशन AI

Mutqan Soft कैसे मदद कर सकता है

और गाइड

और गाइड
टेस्ट डिज़ाइन

टेस्ट प्लान कैसे लिखें

Test plan कैसे लिखें: इसमें क्या होता है, entry, exit, suspension और resumption मानदंड, कॉपी-रेडी टेम्पलेट, एक-पेज agile plan और उदाहरण।

10 मिनट पढ़ने का समय
टेस्ट डिज़ाइन

SDLC और STLC की पूरी समझ

सॉफ़्टवेयर डेवलपमेंट और टेस्टिंग लाइफ़ साइकल कैसे जुड़ते हैं: हर चरण में QA, SDLC से STLC की मैपिंग, shift-left और हर मॉडल में टेस्टिंग।

18 मिनट पढ़ने का समय
टेस्ट डिज़ाइन

स्मोक, सैनिटी और रिग्रेशन टेस्टिंग में अंतर

Smoke, sanity और regression टेस्टिंग की तुलना: दायरा, समय, गहराई और ऑटोमेशन, "sanity" शब्द अस्पष्ट क्यों है, और regression टेस्ट कैसे चुनें।

11 मिनट पढ़ने का समय
टेस्ट डिज़ाइन

टेस्ट केस कैसे लिखें

भरोसेमंद टेस्ट केस कैसे लिखें: हर केस के ज़रूरी फ़ील्ड, कॉपी-रेडी टेम्पलेट, लॉगिन का उदाहरण, और वे तकनीकें जो असली बग पकड़ती हैं।

5 मिनट पढ़ने का समय
बग विश्लेषण

डिफ़ेक्ट लाइफ़साइकल

डिफ़ेक्ट लाइफ़साइकल: error, defect और failure का फ़र्क़, स्टेट और ट्रांज़िशन, resolutions, retesting बनाम regression, aging, मेट्रिक्स और पूरा उदाहरण।

16 मिनट पढ़ने का समय
टेस्ट डिज़ाइन

एंड-टू-एंड प्रोडक्ट क्वालिटी एश्योरेंस

एंड-टू-एंड QA में क्या आता है — आवश्यकता समीक्षा, टेस्ट डिज़ाइन, फ़ंक्शनल, API, परफ़ॉर्मेंस और सुरक्षा टेस्टिंग, रिलीज़ गेट और मेट्रिक्स — और इसे कैसे चलाएँ।

11 मिनट पढ़ने का समय