Show TOC

Executing ABAP Unit TestsLocate this document in the navigation structure


ABAP Unit tests are executed by executing test tasks in the context of test runs. Test tasks can comprise one or more ABAP programs to be tested; these programs contain test classes which in turn contain test methods. During a test run, the test methods of the relevant test tasks are called by a test driver in the runtime environment; duplicate tests are only executed once.

The order in which the tests are executed is not specified deterministically. Since the tests are independent unit tests, the test sequence is irrelevant. It is certain that:

  • All methods of a test class are executed together.

  • All test classes of a program are executed together.

Starting a Test Run in the ABAP Workbench

Creating and Starting a Test Run in the Code Inspector

Starting Test Runs in ABAP Unit Browser