RunCdsUnitTest
Runs ABAP Unit tests for a specified CDS view test class and returns the result, so you can validate CDS view behavior outside batch mode.
Instructions
[read-only] Runs the ABAP Unit tests of the CDS view test class named by class_name and returns the result. Runs outside batch mode.
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": {
"class_name": "<class_name>"
},
"name": "RunCdsUnitTest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | How much of the answer to return: "terse" (default, the fields you need to act), "full" (the whole parse), "raw" (the document as ADT sent it). | terse |
| class_name | Yes | Test class of the CDS view. |