A starting ground for TDD katas with Coffeescript and Jasmine. Tests are automatically run when a file is saved.
This assumes you got npm installed. Then in a terminal run
git clone https://github.com/kueblboe/coffee-kata.git
cd coffee-kata
npm install
./node_modules/karma/bin/karma start
Write your tests and code in the src directory. When you save your files the tests will run and their result will be shown in the terminal and a notification is sent to Growl.
I defined myself an alias for my terminal so I can start a kata by typing 'ck'.
alias ck="git clone [email protected]:kueblboe/coffee-kata.git; cd coffee-kata; st .; npm install; ./node_modules/karma/bin/karma start"