integration-testing
यह क्या करती है
यह स्किल आपके मुख्य workflows की समीक्षा करती है और ऐसे टेस्ट जोड़ती है जो सेवाओं, डेटाबेस और कॉम्पोनेंट्स की आपसी क्रिया कवर करें। यह भरोसेमंद रिलीज़ चाहने वाले डेवलपर्स के लिए है।
कब इस्तेमाल करें
- ✓जब कोई फ़ीचर यूनिट टेस्ट पास करे, पर सारे हिस्से जुड़ने पर विफल हो।
- ✓जब आपके API routes सेवाओं और डेटाबेस को बिना बीच के टेस्ट के कॉल करते हैं।
- ✓जब आप अपने सबसे ज़रूरी उपयोगकर्ता workflows पर स्वचालित जाँच चाहते हैं।
Skill का लिंक
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/integration-testing/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप मेरे ऐप के checkout प्रवाह के लिए integration टेस्ट लिख सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट उन बिंदुओं को पहचानता है जहाँ सिस्टम के हिस्से मिलते हैं, और उन जुड़ावों के लिए टेस्ट लिखता है। वह हर चीज़ को mock करने के बजाय असली टेस्ट डेटाबेस इस्तेमाल करने का सुझाव देता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Write integration tests for key workflows
Unit tests verify individual functions in isolation, but they can't catch the bugs that occur when those functions interact — a perfectly correct validation function and a correct database function can still fail when wired together incorrectly. Integration tests catch these wiring bugs before they reach production, where they're expensive to diagnose.
Quick Reference
- Integration tests verify that multiple units work correctly together
- Test at the boundary where different parts of your system meet
- Use a real database in tests (test DB or in-memory) rather than mocking everything
- Test happy paths and the most critical error paths
Check
Identify the key integration points in this codebase — where API routes call services, where services interact with the database, and where components interact with state management. Are these tested?
Fix
Write integration tests for the identified critical paths, testing the interactions between components rather than each in isolation.
Explain
Explain integration testing, how it differs from unit and E2E testing, and what tools to use for API and component integration tests.
Code Review
Review tests, CI workflows, and enforcement points related to Write integration tests for key workflows. Flag exact gaps where the rule is not automatically verified or where failures do not block regressions.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/testing/integration-testing
अक्सर पूछे जाने वाले सवाल
यह end-to-end टेस्ट से कैसे अलग है?
स्किल integration टेस्ट को कई इकाइयों को साथ काम करते जाँचने वाला बताती है, जबकि end-to-end टेस्ट पूरी उपयोगकर्ता यात्रा कवर करते हैं।
क्या डेटाबेस को mock करना चाहिए?
स्किल जहाँ संभव हो असली टेस्ट डेटाबेस या in-memory डेटाबेस की सिफ़ारिश करती है।
कौन-से रास्ते टेस्ट होने चाहिए?
स्किल सामान्य सफल रास्ते और सबसे महत्वपूर्ण त्रुटि रास्ते सुझाती है।
जानकारी
लेखक का मूल विवरण
Use when reviewing CI coverage, automated checks, or test strategy related to Write integration tests for key workflows. Focus on whether the rule is continuously verified, not just documented.
लोकप्रियता
- GitHub स्टार
- 75k
- रैंकिंग में स्थान
- #2895
- लाइसेंस
- MIT
- अपडेट की गई
- 31/10/2026
कमेंट
- …
इस repository की और skills
frontendchecklist
75kकमांड-लाइन टूल से फ़्रंटएंड कोड और लाइव पेजों को एक्सेसिबिलिटी, स्पीड, SEO और सिक्योरिटी के 380 से ज़्यादा नियमों से जाँचती है।
frontend-checklist-global
75kफ़्रंटएंड प्रोजेक्ट को Front-End Checklist के सभी 386 नियमों से ऑडिट करती है, और हर मिली समस्या का ठोस समाधान देती है।
404-page
75kजाँचती है कि आपका गुम पेज उपयोगी लिंक देता है और सही 404 स्टेटस लौटाता है, ताकि भटके हुए विज़िटर रास्ता ढूँढ सकें।
about-page
75kजाँचती है कि आपकी साइट पर एक साफ़ About पेज है जो बताता है कि उसे कौन चलाता है, ताकि विज़िटर और सर्च इंजन का भरोसा बढ़े।
मिलती-जुलती skills
test-driven-development
311kयह आपके एजेंट को किसी भी फ़ीचर या सुधार से पहले पहले असफल होने वाला टेस्ट लिखना, उसे असफल होते देखना, फिर पास करने वाला सबसे छोटा कोड लिखना सिखाती है।
verification-before-completion
311kयह आपके एजेंट को किसी काम, सुधार या build के पूरा या पास होने का दावा करने से पहले असली जांच चलाकर उसका आउटपुट पढ़ना सिखाती है।
migrate-to-shoehorn
310kआपकी टेस्ट फ़ाइलों में जोखिम भरे type casts की जगह shoehorn लाइब्रेरी लगाती है, ताकि टेस्ट अधूरे डेटा से भी type checks पास कर सकें।