Read test results
test_resultsParses JUnit XML results from the last unit or instrumented test run to surface failures. Run tests with gradle_run first, then filter by module or show only failed tests.
Instructions
Parse JUnit XML results from the last unit test (testUnitTest) or instrumented test (connectedAndroidTest) run. Run tests with gradle_run first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "test_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | No | Limit to one module | |
| failedOnly | No | ||
| projectDir | No | Android project root. Defaults to ANDROID_PROJECT_DIR or the server's cwd. |