sapdev logo background
sapdev logo sapdev logo
Comments

SAP PSEUDO COMMENT TEST CLASS documentation, setup help and example usage



Return to SAP documentation index


ARTICLE

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.
    Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




  • PSEUDO_COMMENT_SLIN
    PSEUDO_COMPONENT_GLOSRY




    comments powered by Disqus