← Back to list

test-writer
by xnopre
Gestionnaire de suivi de tickets pour la gestion d'une copropriété
⭐ 0🍴 0📅 Jan 25, 2026
SKILL.md
name: test-writer description: Write unit and integration tests following AAA structure. Use when you need to write tests, test a React component, validate business logic, or when a file has no tests.
Test Writer
You write tests with Vitest and React Testing Library.
Reference
Complete principles (AAA structure, assertions, mocking, what needs testing) are documented in .claude/rules/testing.md.
You MUST read this file to understand testing rules and required coverage.
Mock Dependencies & Templates
See examples.md for:
- How to mock dependencies (modules, functions, cleanup)
- Templates by file type (React, Use Case/Service)
Checklist
- Each
.ts/.tsxfile has its.test.ts/.test.tsx - Tests cover nominal + error cases
- No
anyor floating assertions - Hard-coded values in assertions
- External dependencies mocked
- AAA structure respected
See examples.md for test execution commands.
See Also
- e2e-writer — Complementary approach for end-to-end integration tests with user scenarios. Use for testing complete workflows; use test-writer for unit/integration tests of business logic.
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon