Open Kioku Find Tests For Change
find_tests_for_changeIdentify test files relevant to a changed file, ranked by naming, imports, and co-change history, to validate the change.
Instructions
Identify test files that should be run to validate changes to one repository-relative file. Returns ranked test file paths with relevance scores based on naming conventions, import relationships, and co-change history. Use after identifying a changed file to select relevant test files that should be run to validate the change. Returns ranked test file paths with relevance scores based on naming conventions, import relationships, and co-change history. Do NOT use when a broader validation plan including static checks and coverage actions is needed (use recommend_validation_plan) or when checking existing coverage data (use explain_test_coverage). This is read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Repository-relative path of the file being changed (e.g., 'src/auth/handler.rs'). | |
| limit | No | Maximum number of test file recommendations to return, ranked by relevance. Defaults to 20. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Wrapped non-object output, used for Markdown, TOON, or scalar responses. |