[rspec-users] cucumber and html reports

aslak hellesoy aslak.hellesoy at gmail.com
Tue Oct 7 13:22:38 EDT 2008


On Tue, Oct 7, 2008 at 6:39 PM, aidy lewis <aidy.lewis at googlemail.com> wrote:
> Hi,
>
> Is there anyway I can cycle through all the features in a folder and
> pipe to html
> through the command line?
>
> For this:
> C:\SvnProjects\my_application\features> cucumber *.feature --format html
>  > my_application.htm
>
> I am getting a wrong number of arguments (3 for 1).
>
> Or how could run all features with a HTML report in a rake file?
>

I just made that a little easier:
http://github.com/aslakhellesoy/cucumber/commit/ff6cb5143d49448a05c46c03180ed8f6ecb240af
http://github.com/aslakhellesoy/cucumber/commit/7cbbc40e99ed278f172f85178c383ba7ae733bdd

Essentially, just pass --format html --out yourfile.html to the rake
task's cucumber_opts

Aslak

> Thanks
>
> Aidy
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list