abap-unit-testing

Community

Streamline ABAP unit tests with confidence.

Authorlikweitan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

ABAP unit testing often lacks structure and repeatability. This Skill guides you through setting up test classes, writing robust assertions with CL_ABAP_UNIT_ASSERT, and using test doubles and mocks for CDS, SQL, and RAP contexts.

Core Features & Use Cases

  • Structured test classes: define setup/teardown, class_setup, and per-test setup to ensure isolation.
  • Assertions & doubles: leverage CL_ABAP_UNIT_ASSERT and inject test doubles to validate logic without side effects.
  • End-to-end testing patterns: apply CDS and RAP test doubles to verify behavior in data-rich or service-based flows.

Quick Start

Create a dedicated test class for your ABAP code and verify behavior using CL_ABAP_UNIT_ASSERT.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: abap-unit-testing
Download link: https://github.com/likweitan/abap-skills/archive/main.zip#abap-unit-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.