The first commit in this PR adds simplecov to the test suite giving us some code coverage metrics. I don't tend to get obsessive about coverage, but when picking up a new project it's a good way of telling you where to tread carefully...
Here's a couple of screenshots of it in action both on the shell and the generated HTML report (stored in the generated /coverage directory):
The first commit in this PR adds
simplecov
to the test suite giving us some code coverage metrics. I don't tend to get obsessive about coverage, but when picking up a new project it's a good way of telling you where to tread carefully...Here's a couple of screenshots of it in action both on the shell and the generated HTML report (stored in the generated
/coverage
directory):The second commit is the result of running
rubocop -a .
in the root of the repo using the style guidelines defined in https://github.com/BBC-News/rubocop-config.