Hi,

I am using JRuby (trunk) and wrote a bunch of specifications for my  
code. Everything works fine so far.
Now I am trying to integrate RCov in my test run. I have installed  
RCov without the C extensions. I tried it with a simple script and it  
worked (pretty slow, but it doesn´t matter).
But when I add the rcov options to my Rake task, RCov is not invoke  
properly!

Rakefile:
Spec::Rake::SpecTask.new('specs') do |t|
   t.spec_files = FileList['spec/**/*.rb']
   t.rcov = true
   t.rcov_opts = ['--exclude', 'spec']
   t.verbose = true
end

Output:
...
Finished in 11.376 seconds

187 examples, 0 failures, 10 pending
Loaded suite /Users/tobias/bin/JRuby.framework/Current/bin/rcov
Started

Finished in 0.0080 seconds.

0 tests, 0 assertions, 0 failures, 0 errors

Why is rcov started at the end of the test run?
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to