Thank you!
On Wednesday, 18 October 2017 20:42:18 UTC+1, Jason Phebus wrote:
>
> you can use embedded ruby in the cucumber.yml file to generate a
> (hopefully) unique file name:
>
> default: --no-source --color --format pretty --format html --out results_<%=
> DateTime.now.strftime('%y%m%d%H%M%S%L') %>_<%= rand(10000-99999) %>.html
>
>
>
> On Wednesday, October 18, 2017 at 11:27:57 AM UTC-4, 江南 wrote:
>>
>> Hi,
>>
>> I am using Watir Ruby and in my cucumber.yml file I have this line of
>> code to produce the report:
>>
>> default: --no-source --color --format pretty --format html --out results.html
>>
>>
>>
>> But this code overwrites the existing report. How do I generate a new report
>> each time?
>>
>>
>> Thanks
>>
>>
>>
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]
---
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.