Code Katas with CodersDojo.com
Code Katas become more and more popular: little programming tasks, that programmers solve several times – every time a little better.
In the right area a dummy test is displayed. We replace the dummy test with the first (test) step of our Kata (in this case the Fibonacci numbers). To make things simple we put production and test code in the same file.
With clicking “Run” we run the test. The result is displayed in the left screen area.
Now we write only so much production code that the test succeeds.
This way we test drive the solution.
By clicking “Finish” we get the analysis of the Kata.
There we see the overall duration of the Kata, the number of steps and a visualization of the TDD steps (red, green).
To improve the Kata we can give a collegue access to the Kata so that he can give feedback. We simply send him the link that is displayed at the bottom of the page. When the collegue opens the link he starts with the first step of the Kata. On the left side he can see the Code before and after the first “Run”. On the right side a text area waits for comments.
Our collegue can navigate forth and back through the Kata. When something strikes our collegue he adds his comment to the step.