Show TOC

Creating ABAP Unit TestsLocate this document in the navigation structure

Procedure

ABAP unit tests are implemented in the form of test methods in local test classes in any ABAP programs. The expected results are checked with static methods of help class CL_ABAP_UNIT_ASSERT.

Using the ABAP Unit Wizard

Using Global Test Classes Correctly

Test Classes

Test Attributes

Test Methods

Methods of Class CL_ABAP_UNIT_ASSERT

Implementing Conditions in ABAP Unit Tests

Complex Comparisons with ABAP Objects

Production Code and Test Code

Fixtures