Download Latest Version v0.21.2.zip (227.4 kB)
Email in envelope

Get an email when there's a new version of SimpleCov

Home / v0.21.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2021-01-03 1.3 kB
v0.21.0.tar.gz 2021-01-03 112.7 kB
v0.21.0.zip 2021-01-03 223.8 kB
Totals: 3 Items   337.8 kB 0

The "Collate++" release making it more viable for big CI setups by limiting memory consumption. Also includes some nice new additions for branch coverage settings.

Enhancements

  • Performance of SimpleCov.collate improved - it should both run faster and consume much less memory esp. when run with many files (memory consumption should not increase with number of files any more)
  • Can now define the minimum_coverage_by_file, maximum_coverage_drop and refuse_coverage_drop by branch as well as line coverage. Thanks to @jemmaissroff
  • Can set primary coverage to something other than line by setting primary_coverage :branch in SimpleCov Configuration. Thanks to @jemmaissroff

Misc

  • reduce gem size by splitting Changelog into Changelog.md and a pre 0.18 Changelog.old.md, the latter of which is not included in the gem
  • The interface of ResultMeger.merge_and_store is changed to support the collate performance improvements mentioned above. It's not considered an official API, hence this is not in the breaking section. For people using it to merge results from different machines, it's recommended to migrate to collate.
Source: README.md, updated 2021-01-03