| name | test |
| description | Run the full test suite with formatted output, or test a specific crate |
| argument-hint | ["crate-name"] |
| allowed-tools | Bash, Read |
Run tests for the Scalpel project.
If an argument is provided, test that specific crate:
cargo test -p scalpel-$ARGUMENTS 2>&1
If no argument is provided, run the full suite:
cargo test --all 2>&1
After tests complete:
- Count passed/failed/ignored
- If any tests failed, show the failure output
- Run clippy:
cargo clippy --all -- -D warnings 2>&1
- Run fmt check:
cargo fmt --all -- --check 2>&1
- Summarize: "X tests passed, Y failed, Z clippy warnings, formatting OK/FAIL"