by Anton
9. October 2013 11:41
I haven’t been to a coding dojo for quite some time. Since I have deficiencies in JavaScript, this sounded like fun. The event was again held at Hotelplan CC Services, and Mike Bild was the one who showed us the ropes. He gave us an introduction to node.js, which is a packaged compilation of Google’s V8 JavaScript engine. It is quite extensible, for instance via the npm package manager (similar to nuget). There are many testing frameworks – Mike showed us and used mocha. It even has a runner, wich runs all the tests as soon as you make a change to the code (similar to ncrunch). After the explanatory part to all the tools, we started solving the KataTennis by applying TDD. It went quite well, the results can be seen here. In the end Mike told us a bit about the task runner Grunt, and the possiblity to convert node.js code with requires into browser code with browserify.