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 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.