qa-vitest-writer
CommunityGenerate Vitest tests for TypeScript
AuthorAZANIR
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the creation of Vitest unit and integration tests for TypeScript projects, streamlining the testing process and ensuring code quality.
Core Features & Use Cases
- Automated Test Generation: Writes Vitest tests from provided test case specifications.
- Mocking & Fixtures: Integrates mocks (
vi.mock,vi.fn,vi.spyOn) and fixtures. - Jest Migration: Assists in migrating existing Jest tests to Vitest.
- Use Case: You have a new TypeScript module and need to write comprehensive unit tests. Provide the test cases, and this Skill will generate the
*.test.tsfiles with appropriate Vitest syntax, mocks, and assertions.
Quick Start
Use the qa-vitest-writer skill to generate Vitest tests for the 'userService' module based on the provided test cases.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: qa-vitest-writer Download link: https://github.com/AZANIR/qa-skills/archive/main.zip#qa-vitest-writer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.