It shows some Rails coverage as well (from the vendors directory).
I put the results online at http://www.stevelongdo.com/typo/coverage/ My work computer is a windows box that is for *gulp* Java development. So I don't have sparklines installed for example so the lack of coverage shown on the graphs for sparklines stuff is because of my lame-o work PC. I will try out against Rails test suites on OS X/Mac tonight at home. I will also extract the CSS info out of rcov so it can be styled independently (that 68% sized text is hard to read).
Is there any simple way to run rails tests without using rake test? I now that I can point rcov at individual rb files, but I wondered if there is some sort of "Rails master test" rb file that excercises the actionpack, activerecord, actionmailer, actionwebservice, activesupport, and railties projects?
On 4/26/06, Steve Longdo <[EMAIL PROTECTED]> wrote:
Insurance docs mention a problem with loading test/mocks in Rails so rcov it is...
I did find a project on Rubyforge called Saikuro ( http://rubyforge.org/projects/saikuro/ ) for getting CC metrics on Ruby code, but it hasn't had any activity for a while.
I'll try out RCOV tonight on Rails and see what happens. I'll report my findings back to the list or post them online.
Thanks,-SteveOn 4/26/06, Jean-François <[EMAIL PROTECTED]> wrote:Hello Steve,
2006/4/26, Steve Longdo <[EMAIL PROTECTED]>:
> Are there any Ruby projects out there that show test coverage versus
> lines of code? Similar to the Java world's Clover, JCover, or JLint?
> Something that could aid in showing where test coverage is "light"?
Maybe you could have a look at rcov :
http://eigenclass.org/hiki.rb?rcov
-- Jean-François.
--
À la renverse._______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core
_______________________________________________ Rails-core mailing list Rails-core@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-core