본문으로 건너뛰기
Skillpedia
테스트48k · #4985

javascript-testing-patterns

하는 일

이 가이드는 JavaScript와 TypeScript 코드가 올바르게 작동하는지 테스트하는 방법을 가르칩니다. 새 프로젝트 설정부터 더 복잡한 테스트 시나리오까지 다룹니다.

사용하는 경우

  • ✓새 프로젝트의 테스트를 설정할 때.
  • ✓코드의 특정 부분에 대한 테스트를 작성할 때.
  • ✓코드의 서로 다른 부분이 상호작용하는 방식을 테스트할 때.

스킬 링크

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에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/javascript-testing-patterns/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“외부 데이터에 의존하는 함수는 어떻게 테스트할 수 있을까요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 이 가이드의 지침을 사용해 테스트를 설정하고 작성하는 방법을 보여 줍니다. 여러 종류의 테스트를 설명하고, 외부 의존성을 시뮬레이션하는 방법도 알려 줄 수 있습니다.

기술 내용 (원본 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.
자주 묻는 질문

프로그래밍에서 테스트란 무엇인가요?

코드가 기대대로 작동하고 버그가 없는지 확인하기 위해 코드에 하는 점검과 같습니다.

TDD란 무엇인가요?

'테스트 주도 개발(Test-Driven Development)'의 약자입니다. 실제 코드를 작성하기 전에 테스트를 먼저 작성하는 방법입니다.

통합 테스트란 무엇인가요?

코드의 여러 부분이 서로 제대로 협력하는지, 즉 올바르게 소통하는지 확인하는 테스트입니다.

상세 정보

작성자의 원본 설명

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
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬