This repository contains code developed during the Pragmatic Unit Testing Code Katas.
The only rule (for now) on this project is to learn! Sorry, there's a second rule: we'll need to create meaningful commit messages.
- IntelliJ IDEA CE
- Java 8
On the command line, run:
$ ./gradlew build
$ ./gradlew buildComplete
The difference between the tasks is that the second will also generate a code coverage report and the API documentation.
Check the build/
directory after running one of these tasks.
On the command line, run:
$ ./gradlew test
After building the project, run:
$ java -cp build/classes/main gameofcraps.PlayCraps 1000
The Game of Craps exercise was recommended by @nelsonsar, which is the person to go for everything related to TDD.