run-apex-tests
Execute Apex unit tests with optional code coverage and detailed results. Specify test classes or methods for targeted testing.
Instructions
Run Apex tests with coverage and detailed results
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": "run-apex-tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testClasses | No | Specific test classes to run (optional) | |
| testMethods | No | Specific test methods to run in format 'ClassName.methodName' (optional) | |
| includeCoverage | No | Include code coverage information (default: true) |