Skip to content

xinitrc86/zassert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

zassert

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.

Usage

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.

Installation

Just clone it or import the zip with ABAPGit.

About

Assert abstract class for ABAP test classes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages