मुख्य सामग्री पर जाएँ
Skillpedia
टेस्टिंग48k · #4985

javascript-testing-patterns

यह क्या करती है

यह गाइड सिखाती है कि अपने JavaScript/TypeScript कोड की टेस्टिंग कैसे करें, ताकि पक्का हो सके कि वह सही काम करता है। इसमें नया प्रोजेक्ट सेट करने से लेकर जटिल टेस्टिंग स्थितियों तक सब कुछ शामिल है।

कब इस्तेमाल करें

  • ✓नए प्रोजेक्ट के लिए टेस्ट सेट करते समय।
  • ✓कोड के किसी खास हिस्से के लिए टेस्ट लिखते समय।
  • ✓यह जाँचते समय कि कोड के अलग-अलग हिस्से एक-दूसरे से कैसे बातचीत करते हैं।

Skill का लिंक

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/javascript-testing-patterns/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/javascript-testing-patterns/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मैं ऐसे function की टेस्टिंग कैसे करूँ जो बाहरी डेटा पर निर्भर करता है?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

AI इस गाइड के निर्देशों का इस्तेमाल करके दिखाता है कि टेस्ट कैसे सेट करें और लिखें। यह अलग-अलग तरह के टेस्ट समझा सकता है और बताता है कि बाहरी निर्भरताओं (dependencies) की नकल (simulate) कैसे करें।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

JavaScript Testing Patterns

Comprehensive guide for implementing robust testing strategies in JavaScript/TypeScript applications using modern testing frameworks and best practices.

Use this skill when

  • Setting up test infrastructure for new projects
  • Writing unit tests for functions and classes
  • Creating integration tests for APIs and services
  • Implementing end-to-end tests for user flows
  • Mocking external dependencies and APIs
  • Testing React, Vue, or other frontend components
  • Implementing test-driven development (TDD)
  • Setting up continuous testing in CI/CD pipelines

Do not use this skill when

  • The task is unrelated to javascript testing patterns
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
अक्सर पूछे जाने वाले सवाल

प्रोग्रामिंग में 'tests' क्या होते हैं?

Tests वे जाँचें हैं जो आप अपने कोड पर करते हैं, ताकि पक्का हो कि वह उम्मीद के मुताबिक चल रहा है और उसमें कोई bug नहीं है।

TDD क्या है?

TDD का मतलब है 'Test-Driven Development'। यह एक तरीका है जिसमें आप असली कोड लिखने से पहले उसका टेस्ट लिखते हैं।

Integration tests क्या हैं?

Integration tests जाँचते हैं कि कोड के अलग-अलग हिस्से एक साथ ठीक से काम करते हैं या नहीं, यानी वे सही तरीके से एक-दूसरे से बात कर पा रहे हैं या नहीं।

जानकारी

लेखक का मूल विवरण

Comprehensive guide for implementing robust testing strategies in JavaScript/TypeScript applications using modern testing frameworks and best practices.

repo: sickn33/agentic-awesome-skills

लोकप्रियता

GitHub स्टार
48k
रैंकिंग में स्थान
#4985
लाइसेंस
MIT
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

00-andruia-consultant

48k

आपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।

AI और एजेंटएजेंट

007

48k

आपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।

कोडिंगसिक्योरिटी

10-andruia-skill-smith

48k

आपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।

AI और एजेंटएजेंट

20-andruia-niche-intelligence

48k

आपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।

लेखन और डॉक्यूमेंटरिसर्च

मिलती-जुलती skills