SAP PSEUDO COMMENT TEST CLASS

Get Example source ABAP code based on a different SAP table
  


ARTICLE
• '#AU ABAP_PSEUDO_COMM_OBS

Pseudo Comments for Test Classes

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 should no longer be used.
To specify both test attributes for a test class, the CLASS statement must be spread across at least two lines.