Home

Awesome

dojos

This is where the Novoda team do all their hacking

Running a dojo

Find the module of the dojo you want to attempt. This will be a module under the root dir. Inside you will either find the default directory or a specific language directory.

If you only find the default directory, follow these instructions. Once the folder structure has been updated properly you can continue, make a copy of the default project of whichever language you want to run the kata with.

Go inside this copy of the default directory, and name it with the date and your name or pairing name. This dir you just copied should have instructions to run the dojo as well as any example code.

-dojos
|- theKata
    |- yourChoosenLanguage
        |- default
        |- 01012014-yourname-pairsname

Android katas

Add the copied kata to the root settings.gradle as theKata:01012014-yourname-pairsname

include: 'theKata:default', 'theKata:01012014-yourname-pairsname'

Starting a new dojo

-dojos
|- myKata
    |- oneLanguage
        |- default
        |- yourImpl
    |- anotherLanguage
        |- default
        |- yourImpl

Android katas

A dojo level gradle containing should be added to keep all the implementations using the same build.

subprojects {
	apply from: '../default/build.gradle'
}

Add the finished katas to the root gradle as dojo:implName

include: 'myKata:default'

Updating a legacy dojo

If the dojo only contains the default folder, it is possible that it has only been used for Android programming before and the structure needs to be updated. To do so create a Java folder and place all the code currently on root inside of the new folder (including the default folder). You can then create a new folder on the kata root with the new language you want to run the kata on if necessary.

-dojos
|- theKata
    |- oneLanguage
    |- existingLanguage
        |- default
        |- 01012014-existingname-existingpair

Now you can run a new dojo on either language