Skip to content

Call local test classes by their purpose

Name local test classes either by the “when” part of the story

CLASS ltc_<public method name> DEFINITION FOR TESTING ... ."

or the “given” part of the story

CLASS ltc_<common setup semantics> DEFINITION FOR TESTING ... .
" anti-patterns
CLASS ltc_fra_online_detection_api DEFINITION FOR TESTING ... . " We know that's the class under test - why repeat it?
CLASS ltc_test DEFINITION FOR TESTING ....                      " Of course it's a test, what else should it be?
From SAP/styleguides under CC BY 3.0 — more details
Last updated on