Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump simplecov from 0.17.1 to 0.18.2 #33

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps simplecov from 0.17.1 to 0.18.2.

Release notes

Sourced from simplecov's releases.

v0.18.2

Small release just to allow you to use the new simplecov-html.

Enhancements

  • Relax simplecov-html requirement so that you're able to use 0.12.0

v0.18.1

Small Bugfix release.

Bugfixes

  • Just putting # :nocov: on top of a file or having an uneven number of them in general works again and acts as if ignoring until the end of the file. See #846 and thanks @DannyBen for the report.

v0.18.0

Huge release! Highlights are support for branch coverage (Ruby 2.5+) and dropping support for EOL'ed Ruby versions (< 2.4). Please also read the other beta patch notes.

Enhancements

  • You can now define the minimum expected coverage by criterion like minimum_coverage line: 90, branch: 80
  • Memoized some internal data structures that didn't change to reduce SimpleCov overhead
  • Both FileList and SourceFile now have a coverage method that returns a hash that points from a coverage criterion to a CoverageStatistics object for uniform access to overall coverage statistics for both line and branch coverage

Bugfixes

  • we were losing precision by rounding the covered strength early, that has been removed. For Formatters this also means that you may need to round it yourself now.
  • Removed an inconsistency in how we treat skipped vs. irrelevant lines (see #565) - SimpleCov's definition of 100% is now "You covered everything that you could" so if coverage is 0/0 that's counted as a 100% no matter if the lines were irrelevant or ignored/skipped

Noteworthy

  • FileList stopped inheriting from Array, it includes Enumerable so if you didn't use Array specific methods on it in formatters you should be fine

v0.18.0.beta3

Enhancements

  • Instead of ignoring old .resultset.jsons that are inside the merge timeout, adapt and respect them

Bugfixes

  • Remove the constant warning printing if you still have a .resultset.json in pre 0.18 layout that is within your merge timeout

v0.18.0.beta2

Enhancements

  • only turn on the requested coverage criteria (when activating branch coverage before SimpleCov would also instruct Ruby to take Method coverage)
  • Change how branch coverage is displayed, now it's branch_type: hit_count which should be more self explanatory. See #830 for an example and feel free to give feedback!
  • Allow early running exit tasks and avoid the at_exit hook through the SimpleCov.run_exit_tasks! method. (thanks @macumber)
  • Allow manual collation of result sets through the SimpleCov.collate entrypoint. See the README for more details (thanks @ticky)
  • Within case, even if there is no else branch declared show missing coverage for it (aka no branch of it). See #825
  • Stop symbolizing all keys when loading cache (should lead to be faster and consume less memory)
  • Cache whether we can use/are using branch coverage (should be slightly faster)

Bugfixes

  • Fix a crash that happened when an old version of our internal cache file .resultset.json was still present

v0.18.0.beta1

... (truncated)
Changelog

Sourced from simplecov's changelog.

0.18.2 (2020-02-12)

Small release just to allow you to use the new simplecov-html.

Enhancements

  • Relax simplecov-html requirement so that you're able to use 0.12.0

0.18.1 (2020-01-31)

Small Bugfix release.

Bugfixes

  • Just putting # :nocov: on top of a file or having an uneven number of them in general works again and acts as if ignoring until the end of the file. See #846 and thanks @DannyBen for the report.

0.18.0 (2020-01-28)

Huge release! Highlights are support for branch coverage (Ruby 2.5+) and dropping support for EOL'ed Ruby versions (< 2.4). Please also read the other beta patch notes.

You can run with branch coverage by putting enable_coverage :branch into your SimpleCov configuration (like the SimpleCov.start do .. end block)

Enhancements

  • You can now define the minimum expected coverage by criterion like minimum_coverage line: 90, branch: 80
  • Memoized some internal data structures that didn't change to reduce SimpleCov overhead
  • Both FileList and SourceFile now have a coverage method that returns a hash that points from a coverage criterion to a CoverageStatistics object for uniform access to overall coverage statistics for both line and branch coverage

Bugfixes

  • we were losing precision by rounding the covered strength early, that has been removed. For Formatters this also means that you may need to round it yourself now.
  • Removed an inconsistency in how we treat skipped vs. irrelevant lines (see #565) - SimpleCov's definition of 100% is now "You covered everything that you could" so if coverage is 0/0 that's counted as a 100% no matter if the lines were irrelevant or ignored/skipped

Noteworthy

  • FileList stopped inheriting from Array, it includes Enumerable so if you didn't use Array specific methods on it in formatters you should be fine
  • We needed to change an internal file format, which we use for merging across processes, to accommodate branch coverage. Sadly CodeClimate chose to use this file to report test coverage. Until a resolution is found the code climate test reporter won't work with SimpleCov for 0.18+, see this issue on the test reporter.

0.18.0.beta3 (2020-01-20)

Enhancements

  • Instead of ignoring old .resultset.jsons that are inside the merge timeout, adapt and respect them

Bugfixes

  • Remove the constant warning printing if you still have a .resultset.json in pre 0.18 layout that is within your merge timeout

0.18.0.beta2 (2020-01-19)

Enhancements

... (truncated)
Commits
  • 0d0f692 Prepare small 0.18.2 release
  • b1b4935 Relax simplecov-html version requirement and update
  • be11653 use newest simplecov-html to test pre release
  • 9e4615a Be more explicit about choosing test projects
  • 645763d Adjustments for the adjustment fixes of simplecov-html
  • 3cab225 Amend 0.18 changelog with notice about code climate test reporter
  • dc3a27e Address comments and fix typos
  • 6f2e17d Refactor CoverageStatistics class and specs
  • e56dc46 0.18.1 with little bugfix
  • 354bd9a Alternate way of solving our uneven problem to work on JRuby
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [simplecov](https://github.com/colszowka/simplecov) from 0.17.1 to 0.18.2.
- [Release notes](https://github.com/colszowka/simplecov/releases)
- [Changelog](https://github.com/colszowka/simplecov/blob/master/CHANGELOG.md)
- [Commits](simplecov-ruby/simplecov@v0.17.1...v0.18.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Feb 13, 2020
@dependabot-preview
Copy link
Contributor Author

Superseded by #34.

@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/simplecov-0.18.2 branch February 24, 2020 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants