DeleteUnitTest
Deletes the local ABAP Unit test classes for an existing ABAP class named by class_name while keeping the class itself, so you can remove test code without removing the production class.
Instructions
Deletes the ABAP Unit test classes of the ABAP class named by class_name. The class's local test classes are deleted, and the class stays. 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": "DeleteUnitTest"
}
}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 | Class that holds the tests. Must already exist. | |
| transport_request | No | Transport request, not a task. Required for a transportable object. |