Solution for KataPotter (http://codingdojo.org/cgi-bin/wiki.pl?KataPotter) implemented on JavaScript, using Jasmine-Node
If you want to play with it in your machine, do the following:
- Install Node (http://nodejs.org/)
- Open the command prompt and install jasmine-node via npm:
npm install -g jasmine-node - Go to the folder where you've cloned this repository, and run
jasmine-node --autotest spec lib - Whenever you save a file, the tests will run automatically :-)