Test Generation
Use this skill to generate tests that meet SISU's coverage standards.
Goals
- Cover happy path, edge cases, and invalid inputs
- Use Vitest syntax and patterns
- Keep tests deterministic and isolated
Steps
- Identify target module and public behavior
- Enumerate input variations
- Generate tests for error handling and cancellation
- Validate coverage thresholds (≥ 80%)
Resources
See resources/vitest-patterns.md for patterns and examples.
微信扫一扫