Kata description @ https://github.com/PillarTechnology/kata-babysitter
Dependencies are Git, Maven and Java
Instructions for Compiling, Running Tests and Running Main
git clone https://github.com/MenkeTechnologies/Pillar-Technology-Kata.git
cd Pillar-Technology-Kata
mvn clean install
java -cp target/com.jakobmenke.pillarkata-1.0.jar BabysitterCalculator.Main
To run all tests
cd Pillar-Technology-Kata
mvn test
To run just the InvalidHoursStarting test (replace InvalidHoursStarting with another method name to run any other single test)
cd Pillar-Technology-Kata
mvn '-Dtest=BabysitterTest#InvalidHoursStarting' test
Interaction type can be changed from interactive (read from command line) to noninteractive (data input from getDataNonInteractively method in Utilities.java)
To make this change uncomment this line in in BabysitterCalculator.Main
//interactionType = "noninteractive";
Javadoc HTML pages are in the doc directory