runTests
Run tests (Vitest, Jest, Pytest, Cargo, Go) and get pass/fail results with failure locations. Uses a 30-second cache.
Instructions
Run tests (Vitest/Jest/Pytest/Cargo/Go). Returns pass/fail, failures, file:line. Cached 30s.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Test name pattern or file path to filter tests | |
| runner | No | Runner to use (vitest/jest/pytest/cargo-test/go-test). Default: all detected | |
| noCache | No | Skip cache and force a fresh run. Default: false | |
| timeoutMs | No | Subprocess timeout in ms. Default: 300000 (5 min). Increase to 600000 for full project runs (>1000 tests). |