Why is a stub written before the examples/tests in the HtDF recipe, and what should normally happen when meaningful tests are run against an unfinished stub?
Short answerAccepted answer
The stub gives the function the correct name and parameters so the tests can run. Meaningful tests should normally run and fail because the stub does not yet implement the correct behavior; they should not produce an error.