Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Obsolete Language Elements →  Obsolete Syntax →  Obsolete Pseudo Comments 

Pseudo Comments for Test Classes

Other versions: 7.31 | 7.40 | 7.54

Obsolete Syntax

... "#AU Risk_Level Critical|Dangerous|Harmless

... "#AU Duration   Short|Medium|Long

Effect

The string "#AU in the statement CLASS with the addition FOR TESTING defines a pseudo comment for defining a test property of a test class.

Pseudo comments are case-sensitive. Any deviations from the syntax produce a warning when tests are performed.


Notes

  • Real additions are now available for the statement CLASS ... FOR TESTING for defining test properties. These additions should be used instead of the pseudo comments. This makes pseudo comments for test classes obsolete. Existing pseudo comments are not ignored, but you should no longer use them.

  • To specify both test attributes for a test class, you must spread the CLASS statement across at least two lines.