Show TOC

Procedure documentationABAP Unit Naming Conventions Locate this document in the navigation structure

Procedure

The name of an ABAP Unit class and test method appear in test failure messages. Class and method names should therefore:

  • Describe what is being tested

  • Differentiate between tests.

The table below suggests naming conventions for prefixes for the different types of ABAP Unit test classes and helper classes. The naming conventions are not binding. But they help to differentiate between production and test classes in a class pool.

Suggested Prefix

Type of Class

LTC_

Local ABAP Unit test class (FOR TESTING...)

LTD_

Local Test double

LTH_

Local test utilities class