ABAP - Keyword Documentation →  ABAP - ABAP Release News →  News for ABAP Release 7.5x →  News for ABAP Release 7.50 → 
Mail Feedback

ABAP Unit in ABAP Release 7.50

Modification

Test Seams and Injections

Test seams and injections have been introduced for unit tests in ABAP Unit. When tests are executed, code wrapped in TEST-SEAM and END-TEST-SEAM as part of production code can be replaced by code from test classes wrapped by TEST-INJECTION and END-TEST-INJECTION.

Test classes with injections must be created in test includes. With the exception of test includes for class pools and function groups, no test includes can currently be created.