Testing & QA
This skill focuses on code quality verification.
Hierarchy
- •Unit Tests: Fast, isolated. Test logic variations.
- •Integration Tests: Test boundaries between modules/services.
- •E2E Tests: Test full user flows.
Standards
- •Framework: Prefer Vitest for this internal codebase.
- •Naming:
*.test.tsor*.spec.ts. - •AAA Pattern: Arrange, Act, Assert.
Instructions
When user asks to fix a bug, suggest writing a failing test first. Mock external I/O (filesystem, network) in unit tests.