Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
Showing results for 
Search instead for 
Did you mean: 
Active Participant

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.

Koans aren´t limited to learning a Language. I´d like the concept of Carlos Ble´s to use the Koans for learning Unit-Testing in JavaScript jskoans.

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 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!