Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites
maximum_coverage_drop
won't fail any more if .last_run.json
is still in the old format. Thanks @petertellgren
maximum_coverage_drop
won't fail if an expectation is specified for a previous unrecorded criterion, it will just pass (there's nothing, so nothing to drop)maximum_coverage_drop
calculation that could falsely report it had dropped for minimal differencesThe "Collate++" release making it more viable for big CI setups by limiting memory consumption. Also includes some nice new additions for branch coverage settings.
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)primary_coverage :branch
in SimpleCov Configuration. Thanks to @jemmaissroff
Changelog.md
and a pre 0.18 Changelog.old.md
, the latter of which is not included in the gemResultMeger.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.The "JSON formatter" release. Starting now a JSON formatter is included by default in the release. This is mostly done for Code Climate reasons, you can find more details in this issue.
Shipping with so much by default is sub-optimal, we know. It's the long term plan to also provide simplecov-core
without the HTML or JSON formatters for those who don't need them/for other formatters to rely on.
simplecov_json_formatter
included by default (docs), this should enable the Code Climate test reporter to work again once it's updatedSimpleCov.root
, should help with some bugsSimpleCov.root
combined with the root filtering didn't work. Now they do! Thanks to @deivid-rodriguez and see #894
main
, not master
anymore. If you get simplecov directly from github change your reference. For a while master
will still be occasionally updated but that's no long term solion.Small bugfix release. It's especially recommended to upgrade simplecov-html as well because of bugs in the 0.12.0 release.
# encoding: ...
comment and read files in the right encoding. Thanks (@Tietew) - see #866
Minitest.after_run
hook to trigger post-run hooks if Minitest
is present. See #756 and #855 thanks (@adam12)Small release just to allow you to use the new simplecov-html.