GruntBlanketMocha / grunt-blanket-mocha

Headless Blanket.js code coverage and Mocha testing via PhantomJS
MIT License
53 stars 37 forks source link

Init reporter with given options #42

Open marchand-laetitia-msa opened 6 years ago

marchand-laetitia-msa commented 6 years ago

We can't access to options in external reporter.

givankin commented 6 years ago

Can you describe the use case in more detail? Are you using an external reporter and need a way to pass options to it? If so, I don't like that you're passing all options. Can we maybe create an optional object that you would pass to the external reporter without passing all options? E.g. introduce a new option externalReporterOptions with {} as default?