Skip to content

Conversation

@netsrak-dev
Copy link

In response to issue #1, I was able to identify a solution based on insights gained from your blog post titled 'Introducing: GLADIUS - A Test Unit Framework.'

Changes made:

  • Deleted the test class 'ZCL_AW_TEST_MASTER' as it was no longer needed.
  • Created a new regular class 'ZCL_AW_TEST_HELPER' to determine the calling class (class under test) and assigned it using Down Cast.

This approach resolves the reported issue and streamlines the testing process. The details of the solution are inspired by the concepts introduced in your blog post.

Thank you!

netsrak-dev and others added 2 commits January 30, 2024 11:19
Introduce a helper class for enhanced test class usage in different implementations.

This improves code modularity
METHOD zif_aw_part_value~value_fill_table_for_next.
result = VALUE #( FOR i = 0 WHILE i <= 4 ( substring( off = i val = sy-abcde len = 1 ) ) ).
result = VALUE #( FOR i = 0 WHILE i <= 4 ( substring( off = i
val = sy-abcde len = 1 ) ) ).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line break multiple parameters

Suggest following fix,

Suggested change
val = sy-abcde len = 1 ) ) ).
val = sy-abcde
len = 1 ) ) ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant