More information about the Kata: Robert "Uncle Bob" Martin
Standard use of Leinengen
lein test
- None (apart from the standard JDK, Clojure and Leinengen)
- An assertion will fail and display an appropriate error message in those cases:
- The input file does not respect the game information format
- Zero or more than one parameter is given to the command
- The filename provided exist and is readable
lein run <filename>
with the path to a game file
The resources
folder contains one example:
lein run resources/input-game-test.txt