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

Code Coverage reporting on Partials is inconsistent on MRI and JRuby #35

Closed
hooligan495 opened this issue Nov 18, 2009 · 4 comments
Closed
Labels

Comments

@hooligan495
Copy link
Contributor

I have been looking into some oddities with code coverage on rails partials. In Jruby I can get RCov to report code coverage results for partials. but running under MRI I can't... I am not exactly sure what the correct behavior should be (I would assume it's better to have more coverage). I am going to continue investigating this.

@hooligan495
Copy link
Contributor Author

here is the code I am using to investigate this issue:
http://github.com/hooligan495/partials-rcov

@jason-o-matic
Copy link

I can't seem to get rcov to report on views of any kind, template or partial. I checked out the repo you linked to, and it didn't work for me either. I'm on rcov 0.9.8. Is there a trick to getting some kind of view coverage at all?

@hooligan495
Copy link
Contributor Author

is this in regular ruby? or Jruby? I hope to spend more time on this issue next week...

@jason-o-matic
Copy link

MRI ruby 1.8.6 (2009-06-08 patchlevel 369) [universal-darwin9.0]

@abedra abedra closed this as completed Jan 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants