generate-cds-unit-test
Installation
SKILL.md
Generate CDS Unit Test
Generate an ABAP Unit test class for a CDS entity using the CDS Test Double Framework.
This skill replicates SAP Joule's "CDS Unit Test Generation" capability by combining ARC-1 (SAP system access) with mcp-sap-docs (documentation & best practices).
Smart Defaults (apply silently, do NOT ask)
| Setting | Default | Rationale |
|---|---|---|
| Test class name | ZCL_TEST_<entity_name> |
Standard convention |
| Package | $TMP |
Fast prototyping |
| Test scope | All testable semantics | User can narrow after seeing the list |
| Risk level | HARMLESS |
CDS test doubles don't modify real data |
| Duration | SHORT |
Unit tests should be fast |
Input
The user provides a CDS entity name (e.g., ZI_SALESORDER, ZC_TRAVEL).