Run unit tests
test_appRun local JVM unit tests in Android projects and get a parsed pass/fail summary with failure messages.
Instructions
Run local JVM unit tests (testUnitTest) and return a parsed pass/fail summary with failure messages.
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_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tests | No | Filter passed to --tests, e.g. 'com.foo.MyTest' or '*MyTest*' | |
| module | No | Gradle module, e.g. 'app' (defaults to session) | |
| variant | No | Build variant, e.g. 'debug' (defaults to session) | |
| projectDir | No | Project root (defaults to session) |