In the example, shows both test and "program" code as well as generates output for both.
Further clarifies what context.run() does in the comment (as it puzzled me a bit at first).
I think it's better to remove (and --no-run) from the next comment as shouldExit() is not true for --no-run  .
Perhaps also update the (same) example The main() entry point.
 rename shouldExit() to mustExit() ?
Include "program code" in example
oh! the -no-run thing in the comment should have been -exit - thanks for the catch!
the CI builds fail though... because the output doesn't match the reference output (because of the printf) - I will merge it and update the reference output.
I feel it's a bit too late to change the name of shouldExit().
First the build should fail, shouldn't it (in truth I forgot about the ref. output ;)
shouldExit(), or expectsExit() is perhaps just right; programmers may have their reasons to not follow the advice to exit there. If you've watched one of Kevlin Henney's talks about testing, you may recognise my hesitation to use the word should when used in relation to testing (ca. 56 min in ;).
Include "program code" in example (#15)