-
Notifications
You must be signed in to change notification settings - Fork 554
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
Using .simplecov does not generate coverage #454
Comments
I think 0.11.2's change to the coverage_path is causing this. Give 0.11.1 a try. Our Jenkins server recently started failing builds due to our rcov coverage output not being found and the only changes I could find are related to the bump from our previous 0.11.1 to the new 0.11.2.
I'm testing this theory right now by locking to 0.11.1, but our builds take 30+ minutes, so I'll report back after I know more. |
No luck switching back to 0.11.1, back to the drawing board. |
It might come from this change 1b5736f I don't have much time to dig deeper into it though. Rolling back to 0.9 for now... 😕 |
My bad! I didn't have |
As I read nothing more here and the last comment about this is a user error I'll close out - please ping and reopen if this problem persists for you. Thank you all! |
Hi,
I am trying to upgrade from simplecov 0.10 to the latest, and due to the new behavior where more files are considered for coverage in the new 0.11 release, I have to use
add_filter
to ignore some files.So, since I am using both minitest and cucumber, I am trying to use the
.simplecov
file for configuration.I have placed this snippet in it:
And left only
require 'simplecov'
in thetest_helper
and cucumberenv
file, but there is no coverage report generated unless I bring the config back into thetest_helper
itself.I know the file is loaded, since running tests does show the result of the
puts
I put there, but no coverage is generated.As a side note, perhaps rename the dot file from
.simplecov
to.simplecov.rb
so it enjoys syntax highlighting without and such when editing.EDIT:
I have tried using my own config file, and then use
require_relative
to include it in both testers, but then simplecov got a little nuts and considered blank lines and comments for the coverage (also with 0.10).The text was updated successfully, but these errors were encountered: