[rspec-users] Formatting runner output as HTML

David Chelimsky dchelimsky at gmail.com
Sat Aug 18 02:03:32 EDT 2007


On 8/17/07, Cody P. Skidmore <cody at skidmore.us> wrote:
>
> I found documentation on Runner & calling Spec on the command line.  I'm
> able to run it on multiple models or a single one and format the output as
> HTML now.  Previously I used the Rake task expecting it to behave the same
> way passing –-format html:path/to/file.html or setting it somehow in
> spec.opts.  But I'm not quite there yet.  Should the Rake task work the same
> way or is everyone just calling Spec instead?

As per my response to another thread, each command line argument must
be on its own line in spec.opts. So:

--format
html:/path/to/my.html

>
>
>
>
> With Sincere Regards,
>
>
>
> Cody P. Skidmore
>
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list