Assert abstract class for ABAP test classes. Allows you to write cleaner tests.
From:
cl_abap_unit_assert=>assert_equals(
exp = "A"
act = "B"
msg = "C"
).
To:
assert_equals(
exp = "A"
act = "B"
msg = "C"
).
Works for any of the methods existing in cl_abap_unit_assert.
Inherit it from your test classes.
class ltc_your_test_class definition
for testing
duration short
risk level harmless
inheriting from zcl_assert.
Use any of the methods available in cl_abap_unit_assert.
Just clone it or import the zip with ABAPGit.