runTests
Run ABAP Unit tests for a class, activate inactive parts first to ensure tests actually execute, then report pass/fail counts and failure details.
Instructions
Run the ABAP Unit tests of a class and report what happened, activating it first if it has inactive parts. This is what unitTestRun should feel like: tests do not run at all against an inactive object, so a bare run answers with an empty list that reads like success. Returns a summary - how many methods ran, which failed, and each failure with its message - with the full ADT result available on request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Include the full ADT result alongside the summary. | |
| url | No | Object URL instead of the class name. | |
| flags | No | Which test risk levels and durations to run. Six booleans; a JSON string is accepted too. Omit for the ADT defaults. | |
| activate | No | Activate inactive parts of the object before running (default true). Without this an inactive class silently runs no tests. | |
| className | No | Class to test, e.g. ZCL_APP_PCK_PLAN. Its own test include is what runs. |