| name | frontend-testing |
| description | 前端测试策略 - Vitest/Jest 单元测试、组件测试和集成测试最佳实践 |
| version | 0.2.0 |
| status | active |
| category | testing |
| tags | ["testing","frontend","vitest"] |
frontend-testing
Overview
前端测试策略 - Vitest/Jest 单元测试、组件测试和集成测试最佳实践
Category
testing
When to Use
Trigger when user needs help with frontend testing tasks or concepts.
Workflow
1. Understand
- Parse what the user is asking about frontend testing
- Identify specific sub-tasks or questions
2. Execute
- Use appropriate tools (exec, web_fetch, browser, read/write) to complete the task
- Reference best practices and patterns from this skill's knowledge domain
3. Deliver
- Format output clearly with code examples where helpful
- Provide rationale and alternatives when applicable
- Default output language: Chinese (可切换英文)
Constraints
- Follow OpenClaw skill conventions
- Handle errors with actionable feedback
- Never expose sensitive data in output
Dependencies
- OpenClaw runtime >= 1.0
- Category-specific tools as needed
Related Skills
- Browse other skills under
testing category
- Use
skills-audit to discover available skills