Skip to content

DanielThomas/spock-katas

 
 

Repository files navigation

Spock Katas

This workshop is composed of several small TDD exercises. You can start with the simplest or jump straight into a more complex one.

In order of complexity they are:

  • Simple algorithms:

    • The Fizz/Buzz Kata

    • The Anagrams Kata

  • Complex algorithms

    • The Diamond Kata

  • Interaction testing

    • The Vending Machine Kata

Although you can build all the katas at once from the root it’s probably best to cd into the kata you want to work on and build only that kata with ../gradlew.

Each kata is designed to be approached in a test-first fashion so 100% code coverage is required. Prepare to be shamed if your coverage is inadequate!

The skeleton source code in each kata is written in Java but feel free to convert it to Groovy (or any other language) if you prefer.

Requirements

  • JDK 8

  • Git

Get started

git clone https://github.com/robfletcher/spock-katas.git
cd fizz-buzz
../gradlew

About

Workshop for Gr8Conf US 2015

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 86.5%
  • Groovy 13.5%