Skip to content

Don't overwrite last_run file if refuse_coverage_drop option is enabled and the coverage has dropped - #469

Closed
Miloshes wants to merge 4 commits into
simplecov-ruby:masterfrom
Miloshes:master
Closed

Miloshes wants to merge 4 commits into
simplecov-ruby:masterfrom
Miloshes:master

Conversation

@Miloshes

@Miloshes Miloshes commented Mar 7, 2016

Copy link
Copy Markdown
Contributor

Refuse_coverage_drop option is great but if the coverage actually dropped, it will only fail your test suite once. The .last_run.json file gets overwritten and tests are passing again.

Proposed changes look for "refuse_coverage_drop" option and if it is enabled, prevent overriding of the file when the coverage has dropped.

@PragTob

PragTob commented Jan 29, 2017

Copy link
Copy Markdown
Collaborator

Hey there, thanks for the PR! This seems like a problem indeed! I'll recheck and try to merge this. I'll drop e0a14d7 though as it was fixed in the mean time. Sorry for the longer down time here.

@PragTob

PragTob commented Jan 29, 2017

Copy link
Copy Markdown
Collaborator

Rebased and reopened as #553

@PragTob PragTob closed this Jan 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants