Show TOC

Evaluating ABAP Unit ResultsLocate this document in the navigation structure

Context

ABAP Unit shows you test results in the ABAP Coverage view. This view automatically opens when you run ABAP Unit tests:

  • A green check shows that your code passed a test
  • A black ‘x’ shows tests that failed.

Procedure

  1. Click on a failed test to open the Failure Trace.

    The trace shows you the ABAP Unit assert that failed or other error that occurred. (For example, ABAP short dumps are captured and shown in the Failure Trace as an error). The Failure Trace also reports the name of the ABAP Unit test that failed.

  2. To jump to the location in the source code at which a problem occurred, double-click on a line in the Stack list, at the bottom of the Failure Trace.
    ABAP Unit Runner view
    Figure 1: ABAP Unit Runner view