Hi,
I was able to run the scenarios using rake features in cucmber,
All the respective results are displayed in colour in std output.
is there any plugin using which i can capture these results(that are
generated at run time).
Please let me know the procedure to capture these logs in to a files.
Hi,
I was able to run the scenarios using rake features in cucmber,
All the respective results are displayed in colour in std output.
is there any plugin using which i can capture these results(that are
generated at run time).
Please let me know the procedure to capture these logs in to a files.
cucumber features -o FILE
Where FILE is the name of the file to redirect the output to.
Hi
Thanks for information.
It helped me a lot.
bascically using cucumber framework(using stdoutput) i want to capture
Failed testcase along with log and passed testcasenames.
Is there any plugin supported by cucumber ?
atleast to generated xml of html or text log for passed and failed
testcase.
Because --o FILENAME just write standout to the given file.
Where FILE is the name of the file to redirect the output to.
Ben
You will probably not want the color so you can use the --no-color
flag. FYI, you can specify multiple formatters if you need to.
“cucumber --help” for more.
Ben M.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.