running-tests
Runs tests and handles failures. Triggered when: test execution, verification, test failures, CI checks.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
Test Command Detection
- Check CLAUDE.md for project-specific test command
- Auto-detect if not specified:
| File | Command |
|---|---|
package.json |
npm test |
Cargo.toml |
cargo test |
justfile |
just test |
Makefile |
make test |
pyproject.toml |
pytest |
go.mod |
go test ./... |
- Ask user if not found
Test Execution
Run the detected command and report:
- Pass/Fail status
- Failed test names (if any)
- Error messages (if any)
Failure Handling
- Analyze failure cause
- Determine root cause:
| Cause | Action |
|---|---|
| Implementation bug | Fix and commit |
| Test bug | Fix test and commit |
| Environment issue | Report to manager |
- Re-run tests after fix
- Confirm all tests pass
Completion Report
- Test result (pass/fail)
- Test count
- Fixes applied (if any)
- Additional commits (if any)
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-28
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!