get_affected_tests
Identifies tests affected by code changes via git diff, returning a sorted list of fully qualified test names to minimize test execution.
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 |