[rspec-users] rake does recognize "rake examples_with_rcov"

Greg Hauptmann greg.hauptmann.ruby at gmail.com
Sat Sep 13 16:47:48 EDT 2008


re "ry looking in the 'coverage' folder" => Wow!  Great stuff.

Is there a way to automatically launch a browser to the index page
after running "rake spec:rcov"

Tks

On Sun, Sep 14, 2008 at 12:34 AM, Matt Wynne <matt at mattwynne.net> wrote:
> On 13 Sep 2008, at 12:39, Greg Hauptmann wrote:
>
>> Q1 - Know why rake doesn't recognize "rake examples_with_rcov" per
>> http://rspec.info/documentation/tools/rcov.html ?
>
> I think the point of that page is to show you how to write your own rake
> tasks that use RSpec and RCov. You won't get that rake task by default in
> your own application but you could run it on the RSpec source code by
> setting your current directory into the directory where you've downloaded
> the RSpec gem or plugin.
>
>>
>> Q2 - Also when I run "rake spec:rcov" it seems to give me the same as
>> if I just run "autotest" or "rake spec".  I was expecting a heap of
>> pointers to code I haven't tested?
>
> Try looking in the 'coverage' folder beneath the directory where you ran the
> rake task. You should find all sorts of goodies in there.
>
> cheers,
> Matt
> ----
> http://blog.mattwynne.net
> http://songkick.com
>
> In case you wondered: The opinions expressed in this email are my own and do
> not necessarily reflect the views of any former, current or future employers
> of mine.
>
>
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list