mavdi / grunt-cucumberjs

Grunt plugin for cucumber.js
MIT License
31 stars 36 forks source link

Console output is not saved to HTML report #77

Closed lenntt closed 8 years ago

lenntt commented 8 years ago

Earlier, the console output was saved to the HTML report. I guess this is broken by @gkushang change: https://github.com/mavdi/grunt-cucumberjs/commit/20afb9e3d36e7b49c82e94ac0e2f0e44d175bb05

Would be nice to have it back.

gkushang commented 8 years ago

It is deprecated as cucumber-js does not support console logs in the JSON reporting format. Instead, you can use scenario.attach('text') to log any debugging info which will be attached to the specific step in scenario, and it won't get lost like console logs.

lenntt commented 8 years ago

I see. Might as well clean up the Console Output part in the templates then

gkushang commented 8 years ago

Agree - we will include in the CHANGELOG and publish