follow me icons

Thursday, November 26, 2015

How to Output cucumber results in STDOUT or console and as a html report


If you need to output the cucumber result both as a html report and to STDOUT you can use the -f rerun --out rerun.txt. This will be useful if you run the cucumber in jenkins where you want to see the html report as well as to follow the progress of your test.

bundle exec cucumber -f pretty -f html --out report.html -f rerun --out rerun.txt features\regression\ --tag @test

1 comment:

  1. Wow,awriter.org
    I'm a lefty too and i dont know if all that it true but still WOW! i never knew all those ppl wer leftys cuz i aint american so yea. but still, nice work n u shudna put the jealousy part.... just sayin......

    ReplyDelete