Revert "feat(ecc): prune plugin 43→12 items, promote 7 rules to .claude/rules/ (#245)"

This reverts commit 1bd68ff534.
This commit is contained in:
Affaan Mustafa
2026-02-20 01:11:30 -08:00
parent 1bd68ff534
commit 0e9f613fd1
536 changed files with 111479 additions and 253 deletions

View File

@@ -0,0 +1,27 @@
# テストカバレッジ
テストカバレッジを分析し、不足しているテストを生成します。
1. カバレッジ付きでテストを実行: npm test --coverage または pnpm test --coverage
2. カバレッジレポートを分析 (coverage/coverage-summary.json)
3. カバレッジが80%の閾値を下回るファイルを特定
4. カバレッジ不足の各ファイルに対して:
- テストされていないコードパスを分析
- 関数の単体テストを生成
- APIの統合テストを生成
- 重要なフローのE2Eテストを生成
5. 新しいテストが合格することを検証
6. カバレッジメトリクスの前後比較を表示
7. プロジェクト全体で80%以上のカバレッジを確保
重点項目:
- ハッピーパスシナリオ
- エラーハンドリング
- エッジケースnull、undefined、空
- 境界条件