Seed directory for practicing Robert Martin's Bowling Game Kata in JavaScript, using Jasmine as the unit test framework and Testacular as the test runner.
See Bowling Game Kata PowerPoint for the steps of the Kata. Uncle Bob's implementation is in Java, so you'll have map the steps to JS.
*** Setup ***
- Install Node
- Install [Testacular (via NPM)] (http://vojtajina.github.com/testacular/).
- In your terminal, move to the root level of the
bowling-kata-seed
repo, and entertestacular start
. A test runner should open in a new instance of Chrome. Testacular is now monitoring for any changes tojs/spec/*.js
andjs/src/*.js
. - Start writing those failing tests in
js/spec/bowling.spec.js
and the code make it pass injs/src/bowling.js
.
Examples of the final code are in final/
.