runSingleMethod
Execute a single test method and receive structured JSON output to quickly pinpoint failures without parsing full build logs.
Instructions
Run a single test method and return structured results
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"className": "<className>",
"methodName": "<methodName>"
},
"name": "runSingleMethod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | No | Maven module name (for multi-module projects) | |
| className | Yes | Full test class name (e.g. com.example.UserServiceTest) | |
| methodName | Yes | Test method name |