README.md in quality-8.1.0 vs README.md in quality-8.1.1

- old
+ new

@@ -80,11 +80,11 @@ # Defaults to t.ruby_dirs t.source_dirs.concat(%w(MyProject MyProjectTests)) # Pick any extra files that are source files, but may not have # extensions--defaults to ['Rakefile'] - t.extra_files = ['Foo', 'Rakefile'] + t.extra_files = ['tools/check-script', 'Rakefile'] # Relative path to output directory where *_high_water_mark # files will be read/written # # Defaults to 'metrics' @@ -99,9 +99,21 @@ ``` ## Why See [this post for more information](http://blog.apiology.cc/2014/06/scalable-quality-part-1.html) on the problem the quality gem solves. + +## Code coverage + +You can pull a similar trick with code coverage using SimpleCov in Ruby--put 'simplecov' in your Gemfile, and add the code below into your test_helper.rb or spec_helper.rb. + +``` +require 'simplecov' +SimpleCov.start +SimpleCov.refuse_coverage_drop +``` + +After your first run, check in your coverage/.last_run.json. ## Maturity Quality uses [semantic versioning](http://semver.org/)--any incompatible changes will come out as major number updates.