Behat - red - step: Given the secret code is "<code>"
phpspec - red - function: it_should_set_a_secret
phpspec - green - function: it_should_set_a_secret
Behat - red - step: When I guess "<guess>"
phpspec - red - function: it_should_receive_a_guess
phpspec - green - function: it_should_receive_a_guess
behat - green - step: Given the secret code is "<code>"
behat - red - step: Then the mark should be "<mark>"
phpspec - red - function: it_returns_an_empty_mark_with_a_guess_with_no_matches
phpspec - green - function: it_returns_an_empty_mark_with_a_guess_with_no_matches
behat - red - step: Then the mark should be "<mark>" (1 example of 14 passes)
phpspec - red - function: it_returns_a_minus_mark_with_a_guess_with_one_number_match
refactor - created mark var
phpspec - red - function: it_returns_a_plus_mark_with_a_guess_with_one_exact_match
phpspec - green - function: it_returns_a_plus_mark_with_a_guess_with_one_exact_match
behat - red - step: Then the mark should be "<mark>" (3 example out of 14 pass)
refactor - created exactMatch and numberMatch method to express intent