jruby-1.5.x does not report proper coverage values when jruby-1.4.x and
ruby/MRI do
-----------------------------------------------------------------------------------
Key: JRUBY-5185
URL: http://jira.codehaus.org/browse/JRUBY-5185
Project: JRuby
Issue Type: Bug
Components: HelpWanted
Affects Versions: JRuby 1.5.3
Environment: windows xp sp2
ubuntu linux 10.04
Reporter: Christian MICHON
Assignee: Thomas E Enebo
Attachments: cmichon-calculator-84e7271.7z
I'm currently playing with jruby, but I need my BDD tools (cucumber/spec) and
coverage tools (simplecov) to work well in jruby.
Currently the ruby version in jruby is equivalent to ruby-1.8.7, so simplecov
will not work: I've to move to rcov-0.9.9-java.
Here's my testcase:
- git clone git://github.com/cmichon/calculator.git (I attached a zipfile
containing the project)
- on a fresh jruby-1.5.x (I of course tried also 1.5.5), install the following
gems: gherkin, rcov, cucumber
- in the calculator subdirectory, just launch 'rake'
In the coverage subdirectory (it's a html report), I should get 100% on all 4
files. I do not get this with any jruby-1.5.x, whereas with jruby-1.4.x or
windows MRI 1.8/1.9 it works fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email