Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Code for the 15th London Code Dojo meetup in Dec 2012, Gilded Rose kata
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
solution
Gilded Rose kata.md
InventoryManager.coffee
LICENSE
README.md
kata.watchr
package.json
test-gilded-rose-inventory.coffee

README.md

Code Dojo 15

This is the base code from the 15th meeting of the London Code Dojo in mid Dec 2012. Feel free to play around with it. Please read the file 'Gilded Rose kata.md' for details on what the kata involves and how the exercise is structured. The objective is not just to add a feature to the code, but also to add tests to (bad) legacy code and to refactor the code into something much more maintainable and extensible. Good luck!

Other versions of the Gilded Rose starter code for different languages can be found at:

You can run the included code in this project (assuming you have node, coffeescript, mocha and chai installed) with:

mocha --compilers coffee:coffee-script test-*.coffee

You can install dependencies automatically with:

npm install

(though you will need mocha and coffeescript installed globally)

I have set up a watchr file (kata.watchr) so that the tests are run automatically every time you save a file in your editor, simply run watchr (if you have it installed) with:

watchr kata.watchr

The source of the kata is the Gilded Rose kata, from here

I've also linked the slides from the meeting. You can find out more about the London Code Dojo at our homepage.

This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported license - see http://creativecommons.org/licenses/by-nc-sa/3.0/

Something went wrong with that request. Please try again.