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

Inconsistently returns no files in report #26

Open
thebaggage opened this issue Jan 14, 2011 · 2 comments
Open

Inconsistently returns no files in report #26

thebaggage opened this issue Jan 14, 2011 · 2 comments

Comments

@thebaggage
Copy link

Not sure if this is an issue or a user problem, but inconsistently, cover_me returns a report of 0 files (with 0% coverage). I'm using rspec tests, typically running through a spork server with --drb set in .rspec, and autotest. I've tried shutting down spork, autotest & removing the --drb call, but it still returns 0 coverage most of the time. And yet - every now and then - it returns the correct coverage report. Can't figure out why, can't think of anything I'm doing differently.

Rails 3.0.3, RSpec 2.4.0, cover_me 1.0.0.rc5

@ghost
Copy link

ghost commented Jan 22, 2011

I have just installed cover_me. Run using rspec, with spork and --drb. Have yet to get a report that shows anything but 0% and 0 files.

Rails 3.0.3, Rspec 2.4.0, cover_me 1.0.0.rc5

Update: If I disable --drb and rerun rspec spec/ and then run rake cover_me:report, I get results. Is there a way to modify the rake task to do that automatically?

@dburry
Copy link

dburry commented Feb 6, 2011

The solution I suggested to Issue #22 might offer some ideas of a possible way to fix this. In theory it should be easy to write a new rake task that runs rspec under cover_me without drb.

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

No branches or pull requests

2 participants