What problem does it solve?
This Skill automates the repetitive and time-consuming task of running tests and summarizing their results, accelerating development feedback cycles and ensuring code quality without manual oversight.
Core Features & Use Cases
- Scoped Test Execution: Intelligently runs only relevant tests based on changed files (
git diff) or provided scope (e.g., cargo test -p <crate>), maximizing efficiency.
- Comprehensive Reporting: Captures raw test output and generates a concise
test_summary.md including overall status (PASS/FAIL), names of failing tests, and top error snippets.
- Efficiency & Speed: Prioritizes bounded test runs for faster feedback, with a robust fallback for full test suite execution when required.
- Use Case: During the "Build" phase, automatically execute unit tests for only the Rust crates affected by recent code changes. The Skill then provides an immediate summary of pass/fail status and any critical errors, allowing developers to quickly identify and fix issues.
Quick Start
Execute the test-runner skill to run all tests in the 'my-feature-crate' Rust package and summarize the results in 'test_summary.md'.