771 B
771 B
description, allowed-tools
| description | allowed-tools |
|---|---|
| Run tests for the current project quickly | Bash(npm:*), Bash(pytest:*), Bash(go:*), Bash(cargo:*) |
Quick Test Command
Run the appropriate test suite based on the project type.
Context
- Current directory: !
pwd - Package manager files: !
ls -la | grep -E "(package\.json|requirements\.txt|go\.mod|Cargo\.toml)"
Your Task
- Detect the project type based on files present
- Run the appropriate test command:
- Node.js:
npm testornpm run test - Python:
pytestorpython -m pytest - Go:
go test ./... - Rust:
cargo test
- Node.js:
- Display the test results clearly
- If tests fail, provide a brief summary of failures
IMPORTANT: Only use the tools specified in allowed-tools. Do not use any other tools.