eriksencosta / kata-game-of-craps

Code exercise to practice TDD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code Kata: Game of Craps

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.

Requirements

  • IntelliJ IDEA CE
  • Java 8

Building the project

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.

Running the tests

On the command line, run:

$ ./gradlew test

Playing Craps!

After building the project, run:

$ java -cp build/classes/main gameofcraps.PlayCraps 1000

Acknowledgments

The Game of Craps exercise was recommended by @nelsonsar, which is the person to go for everything related to TDD.

About

Code exercise to practice TDD

License:Apache License 2.0


Languages

Language:Java 100.0%