Skip to Content
avatar image
Former Member

ABAP Unit Code Coverage error: Program is not relevant for coverage measurements


we have the following scenario:

  • Global test class (superclass, abstract) CL_A in package T
  • local test class LCL_A in CL_A inheriting from CL_A
  • Global class CL_T in package X (this is the class we want to test in CL_A)

The problem here is, that the code coverage of CL_T somehow cannot be shown via executing unit tests with coverage on CL_A. When I do this and click on the tab "Coverage Metrics" an empty tab is shown with an error message "Program CL_A====CP" is not relevant for coverage measurements".

Observation we did so far: When executing the unit tests for our top level package, the coverage tab provides results and one can show the coverage of CL_T via browsing to the package of CL_T. But this way is very time consuming if I only want to check the coverage of the single class.

Somebody has an idea how to solve the problem?

Thanks and regards


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers