aunit

Run ABAP unit tests and generate coverage for ABAP objects via ADT.

7|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/modalala/sapcli-skill --skill aunit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aunit
Source: https://github.com/modalala/sapcli-skill/tree/main/skills/adt-test/aunit
Command: npx skills add https://github.com/modalala/sapcli-skill --skill aunit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automate running ABAP unit tests for ABAP objects using AUnit, reducing manual testing time and errors.

Core Features & Use Cases

  • Run unit tests: execute AUnit tests for a given ABAP object and report results.
  • Coverage: generate test coverage insights for the target object.

Quick Start

Invoke the skill with an object name to run tests, for example sapcli aunit run <object_name>.

Frequently Asked Questions about aunit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run ABAP unit tests for a specific object from the command line?

Run ABAP unit tests by invoking the aunit_run CLI tool with a specific object name, which integrates with the ADT protocol to execute AUnit tests and report results.

Can I generate test coverage reports for ABAP objects in ADT?

Yes, you can generate test coverage insights for target ABAP objects using the aunit_coverage CLI tool within ADT-based SAP environments to analyze test execution results.

Do I need ADT to execute AUnit tests using this CLI approach?

Yes, ADT integration is required because the CLI tools leverage the ADT protocol to perform AUnit test execution and coverage analysis for ABAP objects in SAP environments.

What is the best way to automate ABAP unit testing for individual objects?

Automating ABAP unit testing is best achieved by using CLI tools that accept an object name and integrate with the ADT protocol to run AUnit tests and generate coverage insights.

Does this AUnit CLI tool work with SAP environments outside of ADT?

No, this AUnit CLI tool applies specifically to ADT-based SAP environments, relying on the ADT protocol to execute unit tests and coverage analysis for ABAP development workflows.