exercise: Bob
version: 1
plan: 28
methods: hey
tests: |
#`[Go through all of the cases (hiding at the bottom of this file)
and check that Bob gives us the correct response for each one.]
is ::($exercise).?hey(.), |. for @($c-data);
exercise_comment: The name of this exercise.
module_comment: "%*ENV is for tests not directly for the exercise, don't worry about these :)"
version_comment: The version we will be matching against the exercise.
lib_comment: Look for the module inside the same directory as this test file.
plan_comment: This is how many tests we expect to run.
use_test_comment: Check that the module can be use-d.
version_test_comment: "If the exercise is updated, we want to make sure other people testing\nyour code don't think you've made a mistake if things have changed!"
methods_comment: "Check that the class 'Bob' can use all of the methods\nneeded in the tests (only 'hey' for this one)."
cdata_test_comment: Ignore this for your exercise! Tells Exercism folks when exercise cases become out of date.
done_testing_comment: There are no more tests after this :)
INIT_comment: "'INIT' is a phaser, it makes sure that the test data is available before everything else\nstarts running (otherwise we'd have to shove the test data into the middle of the file!)"