Ruby Forum Ruby > Rspec failing_example_groups AND html:t.html cmd

Posted by Kga Agk (kga85)
on 24.06.2009 12:59
When i start a test program from command line i want to do this in
Rspec:

ruby Test1.rb --format failing_example_groups --format html:test.html


but this dos not work properly.

but it works seperatly:

ruby Test1.rb --format failing_example_groups

ruby Test1.rb --format html:test.html

But i want to do them together. How do i run bout those options
together? (I'm not so familiar with command line commands)
Posted by David Chelimsky (Guest)
on 02.07.2009 15:28
(Received via mailing list)
On Wed, Jun 24, 2009 at 5:59 AM, Kga Agk<lord_kga@yahoo.no> wrote:
> ruby Test1.rb --format failing_example_groups
>
> ruby Test1.rb --format html:test.html
>
> But i want to do them together. How do i run bout those options
> together? (I'm not so familiar with command line commands)

They both work together for me exactly as you have them above. If
you're still having trouble with this, please file a bug report at
http://rspec.lighthouseapp.com including info about your ruby and
rspec versions and what platform you're running on.

Thanks,
David