get_affected_tests
Analyze git diff including uncommitted changes to find tests impacted by code modifications, returning a sorted list of fully qualified test names.
Instructions
Get tests affected by code changes. Automatically runs git diff (including uncommitted changes) and analyzes which tests need to be run. Returns a sorted list of test FQNs (fully qualified names). If the diff contains changes outside the analyzed Kotlin sources (build scripts, resources), a note is appended — consider running the full test suite for those changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_branch | No | Git branch to compare against (default: origin/main) | |
| project_path | Yes | Absolute path to the Kotlin project root directory |