描述
Implement comprehensive testing strategies using Jest, Vitest, and Testing Library.
如何使用
- 访问 GitHub 仓库获取 SKILL.md 文件
- 将文件复制到您的项目根目录或 .cursor/rules 目录
- 重启您的 AI 助手或编辑器以应用新技能
完整技能说明
name
javascript-testing-patterns
description
Implement comprehensive testing strategies using Jest, Vitest, and Testing Library for unit tests, integration tests, and end-to-end testing with mocking, fixtures, and test-driven development. Use when writing JavaScript/TypeScript tests, setting up test infrastructure, or implementing TDD/BDD workflows.
Tags
关于 javascript-testing-patterns
javascript-testing-patterns 是一个 testing 类别的 AI 技能,旨在帮助开发者和用户更高效地使用 AI 工具。Implement comprehensive testing strategies using Jest, Vitest, and Testing Library.
该技能在 GitHub 上获得了 5,200 个 star,表明它在社区中受到广泛认可。它兼容 claude、codex 等平台。
核心能力
为什么使用 javascript-testing-patterns
将 javascript-testing-patterns 添加到您的 AI 工作流中可以显著提升在 testing 领域的工作效率。通过预定义的提示模板和最佳实践,这个技能可以帮助 AI 助手更好地理解您的需求并提供更准确的响应。
无论您使用 claude 还是 codex,都可以轻松集成此技能到您现有的开发环境中。
探索更多 testing 技能
发现更多 testing 类别的 AI 技能,帮助您构建全面的 AI 技能栈。
相关技能
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright.
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
test-driven-development
Use when implementing complex logic that needs test coverage - write the test first, watch it fail.
e2e-testing-patterns
Master end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs.
bats-testing-patterns
Master Bash Automated Testing System (Bats) for comprehensive shell script testing.