-
Notifications
You must be signed in to change notification settings - Fork 552
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
rake test and guard show different coverage reports for the same test suite #130
Comments
Please try setting a higher Also, people using guard & spork had a problem which was resolved with some configuration magic, but since you're using test/unit I assume it won't help you much. I'd still like to at least have it mentioned here - #42 Closing for now, if the problem persists please reopen the issue! And please also report back if and what fixed your problem so future visitors know it helped :) |
Setting a higher As I can get the coverage using rake, I don't consider this to be a major issue for me. I'll report back if I find a solution |
Cool, thanks! |
Is there a solution for the coverage problem today? I just ran into this issue quite a few times, but didn't find any working solution. |
@csommerauer Did you ever find a solution for this? |
@CharlesP unfortunately not. Sorry |
@csommerauer That's a bummer... @colszowka Can we reopen this issue? |
Ruby 1.9.2-p180, Rails 3.0.10, Test::Unit 2.4.5
guard-test (0.4.3)
guard (1.0.0)
simplecov (0.6.1)
simplecov-html (~> 0.5.3)
when running
the resulting coverage report is much lower than when running exactly the same test suite with
which seem to create the right coverage report .
When looking at the coverage within a file (i.e a model class), the only lines highlighted green are the lines with the
def
keyword and the method calls from within the class (i.escope, validates, belongs_to
and so on).None of my code is highlight green as tested even though it is highlighted green when running the tests with rake
The text was updated successfully, but these errors were encountered: