jemishgopani / wdio-json-reporter

A WebdriverIO plugin. Report results in json format. http://webdriver.io
13 stars 32 forks source link

Add option to combine the resulting JSONS and specify a filename #9

Closed Bubbit closed 7 years ago

Bubbit commented 7 years ago

For my CI pipeline I wanted to use the wdio-json-reporter, but I ran into the issue that it's only able to spit out one json for each spec file. In order to work properly in my CI pipeline I need one resulting JSON. I could fix this in the wrapper code, but I think it makes more sense in order to do it in the reporter itself.

It should also be possible in my opinion to specify a filename (also a requirement for my pipeline ^^) instead of a standard one.

fijijavis commented 7 years ago

@Bubbit I like it! Thanks for contributing the changes.