On Mon, Mar 17, 2008 at 3:50 PM, Tobias Torkler <[EMAIL PROTECTED]> wrote:
> This is not Test::Unit output!

The following text - taken from your first email - is Test::Unit
output. It is not RCov or RSpec output.

------------8<------------
Loaded suite /Users/tobias/bin/JRuby.framework/Current/bin/rcov
  Started

  Finished in 0.0080 seconds.

  0 tests, 0 assertions, 0 failures, 0 errors
------------8<------------

>  As you can see I created a Rake task to run my specs and tried to
>  integrate rcov as described on 
> http://rspec.info/documentation/tools/rcov.html
>  RSpec works as expected (187 examples, 0 failures, 10 pending) but I
>  am missing the RCov report.
>

In your first email you asked: Why is rcov started at the end of the test run?
I got confused about what you mean by "test run" (that usually mean
Test::Unit run - and you do have Test::Unit output).

Are you trying to figure out what order things are happening in, or
are you trying to figure out why you're not getting an RCov report?

Aslak

>
>  Am 17.03.2008 um 15:43 schrieb aslak hellesoy:
>
>
>
>  > On Mon, Mar 17, 2008 at 1:27 PM, Tobias Torkler <[EMAIL PROTECTED]
>  > > wrote:
>  >> 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
>  >>
>  >
>  > This is Test::Unit output
>  >
>  >> Why is rcov started at the end of the test run?
>  >
>  > Did you mean: Why is Test::Unit started at the end of the RSpec run?
>  >
>  > I'm not sure exactly what you're asking.
>  >
>  > Aslak
>  >
>  >> _______________________________________________
>  >> rspec-users mailing list
>  >> rspec-users@rubyforge.org
>  >> http://rubyforge.org/mailman/listinfo/rspec-users
>  >>
>
>  _______________________________________________
>  rspec-users mailing list
>  rspec-users@rubyforge.org
>  http://rubyforge.org/mailman/listinfo/rspec-users
>
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to