detect_runner
Identifies whether a project uses pytest, unittest, jest, or vitest without running tests, and reports evidence, exact run command, readiness, test directories, and Python interpreter details.
Instructions
Detect which test runner a project uses, without running any of its tests.
Looks for pytest (config, conftest.py, dependencies), unittest, jest and vitest (package.json, config files). For each candidate: the evidence, the exact way it would be run, and whether it is ready (pytest importable, node_modules present). For Python it also reports which interpreter would be used (project .venv, else the server's own) and the versions of pytest/coverage found there. Returns test directories too.
path: project root (absolute is safest). python: optional interpreter path, or 'uv'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . | |
| python | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||