list_tests
Collects test IDs without executing tests, separates collection errors from real failures, and lets you filter tests or select exact cases for later runs.
Instructions
List the tests without running them (collect-only). Returns ids (max 500) and any collection errors (import errors in test modules or conftest.py), reported separately.
filter: pytest -k expression / unittest name pattern / substring of a jest or vitest file name. For jest and vitest only test FILES can be listed. Use the ids as run_tests selectors and as flaky_check / explain_failure test_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . | |
| filter | No | ||
| python | No | ||
| runner | No | ||
| timeout | No | ||
| selector | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||