Initialize repo with readme
Add first test to verify if babysitter can start job
Add tests for working before bedtime
Begin tests for time frame between bedtime and midnight
Refactor tests using Spock's data table and production code using ternary
Add tests for time worked after bedtime
Add tests for hours worked after midnight
Add test for mix between hours worked before and after bedtime
Rework logic in code to calculate payment for each hour one at a time
Refactor code to get rid of magic numbers and use constants
Add tests to check when babysitter works all three time segments together
Make code Groovier by using range instead of for loop
Change clock to 12-hour clock and manage time wrapping
Change map logic to use Groovy withDefault