Have fun with ABAP Koans
Why practicing is better than theory?
By designing you learn to design. By making programs you learn to make programs. wiki.c2
Are you trying to master a new language or level up with the one you already familiar with?
Koans are a great way to hone your skills through small exercises.
The first Koans exercises are created by Jim Weirich for learning the Programming Language Ruby. Ruby Koans
The Koans walk you along the path to enlightenment in order to learn Ruby. The goal is to learn the Ruby language, syntax, structure, and some common functions and libraries. We also teach you culture. Testing is not just something we pay lip service to, but something we live. It is essential in your quest to learn and do great things in the language.
I adapted this idea and wrote the first ABAP Koans to explore the ABAP Unit Testing Framework. It should be a small step to motivate YOU to start exploring Unit Tests in ABAP.
(System Requirement minimum 7.40)
Essentially ABAP Koans is an interactive tutorial.
You clone the GitHub repository https://github.com/damir-majer/ABAPKoans navigate to the existing global class and execute the Unit Tests over Menu >Execute>Unit Test or via the Keyboard Shortcut CTRL+SHIFT+F10 (works also in ABAP in Eclipse ;-).
You start with a failing Unit Test.
Solve them and continue to the next failing Test, until you solve every failing Unit Test.
No previous knowledge is required. The first Tests are very basic, but feel free to extend the current standing!