Test Runner Skill
Instructions
When user asks to run tests:
- •Find test files using Glob tool
- •Run tests using Bash tool
- •Analyze results and explain failures
- •Suggest fixes if tests fail
Steps to Follow
Step 1: Discover Tests
code
Use Glob to find: **/*test*.py, **/*.test.js, **/*.spec.ts
Step 2: Run Tests
bash
# Python pytest -v # JavaScript npm test # Go go test ./...
Step 3: Analyze Output
- •Count passed/failed
- •Identify failure reasons
- •Show relevant code snippets
Step 4: Report Format
code
## Test Results ✅ Passed: X ❌ Failed: Y ### Failures [List each failure with explanation] ### Suggested Fixes [Actionable fixes for failures]