mavdi / grunt-cucumberjs

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

Support for Multi formatter #57

Closed gkushang closed 8 years ago

gkushang commented 8 years ago

options.formats

Supports multiple formatter. Type: Array Available: ['pretty', 'progress', 'summary', 'html']

e.g. formats: ['html', 'pretty']

Note: html formatter will provide Json as well as html report. Multiple formatter is supported for cucumber v@0.8.0 or higher

gkushang commented 8 years ago

@mavdi Let me know what you think about this? Its keeping backward-compatibility by adding formats option, whereas format will still work with cucumber v@0.7.0 and lesser.

gkushang commented 8 years ago

Hi @mavdi, can you take a look this PR? Thanks!!

nikulkarni commented 8 years ago

Otherwise looks good to me :+1: