From claude-code-toolkit
Diagnoses failing tests, parses output, categorizes causes, reads code, applies targeted fixes, verifies with re-runs, and reports table of results with pass count.
npx claudepluginhub rohitg00/awesome-claude-code-toolkittesting/Diagnose and fix failing tests in the project. ## Steps 1. Run the test suite and capture output: detect the test runner from project config. 2. Parse the failure output to extract: - Test name and file location. - Expected vs actual values. - Stack trace and error message. 3. For each failing test, determine the root cause category: - **Stale snapshot**: Output changed intentionally; update snapshot. - **Logic change**: Source code changed but test was not updated. - **Environment issue**: Missing env var, port conflict, timing issue. - **Flaky test**: Race condition...
/test-fixАвтоисправление существующих тестов под корпоративные стандарты
Diagnose and fix failing tests in the project.
<runner> --testPathPattern <file>.Failing tests: <N>
| Test | File | Cause | Fix |
|------|------|-------|-----|
| test name | path | category | what was done |
Result: <N>/<N> now passing