Rspec + rcov + rails + sequel (false coverage report)

Anyone use rcov (0.9.4) on a rails (2.3.5) app that is using Sequel
(3.8.0)? The coverage report is including blank and comment lines as
not being executed. It is also including the class definition line
being not executed when the instance and class methods have been
executed. I’m not sure if this has to really do with Sequel, because
this is also happening to the controller specs. Rspec(1.3.0) was run
with rake(0.8.7) like this rake spec:rcov. The report seems to be
totally bogus based on blanks and comments being included. I have
used these in the past with AR and it worked fine. I just can’t
believe Sequel would cause these to break.

any ideas?



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs