You want to check the behavior of an ordinary class ZCL_ORDINARY with class LTCL_TEST. How do you specify LTCL_TEST as a test class?
Suggested Answer: A
Get Premium C_ABAPD_2507 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
ABAP Unit test classes are declared with the addition FOR TESTING in the class definition. RAP test guides also show the same ABAP Unit pattern for local test classes:
CLASS ltcl_sc_r_agency DEFINITION FINAL FOR TESTING
DURATION SHORT
RISK LEVEL HARMLESS.
This is the canonical way to mark an ABAP class as a test class.
0 comments · newest first
Currently there are no comments in this discussion, be the first to comment!