Repository navigation
v1.0.0
[1.0.0] - 2026-09-26
Added
Test doubles on top of CL_ABAP_TESTDOUBLE.
ZCL_ATKwithdummy( ),stub( ),spy( )andmock( )for global interfaces. Classes
are rejected with a message that points to an interface or toCL_ABAP_TESTDOUBLE.- Rules with
when( ),with( ),returns( ),sets( )andraises( ); the most specific
rule wins, and a call that matches no rule of a method fails the test. - Spy checks with
was_called( )->with( )->times( )andwas_not_called( ), after the act
step. - Mock expectations with
expect_call( )->times( )andverify( ). Two expectations for the
same method are two calls: a call goes to the most specific expectation that still waits for
a call. - Methods of component interfaces (
INTERFACESinside the doubled interface), named with or
without their interface prefix. - Method names, parameter names and values checked with RTTI, with suggestions for
misspelled names; values converted without loss. ZCX_ATKand message classZATK: every text has three parts, in this order - what
went wrong, how to fix it, and the facts: the actual arguments, the rules or expectations
of the method and where the closest one differs, the matching or closest calls, what a
value that does not fit would become, the parameters or outputs a method has, the
exceptions it declares. An optional parameter the caller left out is shown as
(not supplied).- 133 unit tests against the real
CL_ABAP_TESTDOUBLE, and packageZATK_DEMOwith the same
scenarios tested with the classic framework and with the library. - abaplint in ABAP Cloud mode and the unit tests off-stack (abaplint transpiler,
open-abap-core) on every push.