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

100% coverage always reported on jruby 1.6.7 in 1.9 mode #118

Closed
pangloss opened this issue Mar 24, 2012 · 3 comments
Closed

100% coverage always reported on jruby 1.6.7 in 1.9 mode #118

pangloss opened this issue Mar 24, 2012 · 3 comments
Labels

Comments

@pangloss
Copy link

When I view the files in the html output, it is easy to see that the coverage number is wrong. For instance one 60-line source file has only one line covered, but the stats I get for the file are

100.0 % covered
1 relevant lines. 1 lines covered and 0 lines missed.

In all cases, only covered lines are counted as relevant.

I'm running JRuby with the --debug flag to ensure that full tracing functionality is enabled:

COVERAGE=1 jruby --debug bin/rspec
@tscolari
Copy link

I'm having the same issue here

@fifahuihua
Copy link

I'm also having the same problem, who can help us resolve it? thanks

@colszowka
Copy link
Collaborator

Although JRuby recently added a coverage library similar to MRI's one, it currently simply does not work. There already is an open issue for tracking JRuby support, #86. You can find further details and links on this topic over there. Closing this as duplicate.

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

4 participants