-
Notifications
You must be signed in to change notification settings - Fork 561
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
Command name detection fails with recent Rake #110
Comments
Hi, please check out #60, I think your issue is the same. There's a solution at the bottom. |
Ok, I'll reply on this Issue because I think the problem isn't related to #60, since I tried the following and my problem still remains:
Now, I tried run only my units tests |
Actually, you're right - something in the test suite detection seems to have went down the drain on the road to Rails 3.2 and I was able to reproduce this bug. Reopened, sorry for making too early conclusions 🍺 What you can do to temporarily fix this (note that this only has to be done in ONE file per test suite as it will apply to the whole SimpleCov config for that process):
This will make SimpleCov ditch it's own CommandGuesser class and use the suite names you provided. Keeping this open as it definetely needs to get fixed though :) |
Just to let you know, your temporarily fix worked here. |
Thanks for the "temp" fix. It worked for me to :) - ruby 1.9.3-p0, rails 3.2.1 |
I'm having the same issue here. Temp fix worked, thanks. |
So, the offender here is |
v0.6.0 is out and should resolve this. At least it did in my local tests on a fresh 3.2.1 Rails app :) |
Hi, I don't know if I'm doing something wrong, but I have a model with two methods, and even the test passing, the coverage file isn't being marked as covered. The code:
the return of method
open?
isn't being covered. Why?The text was updated successfully, but these errors were encountered: