Closed arporter closed 7 years ago
This also highlights that I have no tests for the top-level habakkuk
script. I'll add some as part of this issue.
Created branch usage_message
for this work. Added a failing test that runs habakkuk without arguments and checks for a usage message.
Accidentally tagged a couple of commits with number 21 instead of 23. Anyway, decided that it was actually better to leave runner() raising IOErrors. Now catch these in the top-level habakkuk script, print associated error message and exit. Checked whether I can get a coverage report for the habakkuk script and I can - just provide the top-level directory as the argument to --cov
and it reports on everything below that.
Discovered that I'd been slack in the way I was setting the location of the habakkuk script in the cmd-line tests. Fixed that and travis now passes :-)
Pull request #32 has been merged. Closing Issue.
It should produce a usage message at the very least...