webdriverio-boneyard / wdio-junit-reporter

A WebdriverIO v4 plugin. Report results in junit xml format.
http://v4.webdriver.io
MIT License
11 stars 42 forks source link

Test class name as part of outputFileFormat opts #32

Closed kaushlakers closed 7 years ago

kaushlakers commented 7 years ago

Currently: According to the readme, there is an option to customize the output file format. The options available to customize this is just the runner id and the capabilities. These are not very readable.

Would you entertain the possibility of making more details about the test available while specifying the test file format?

Ideally it would be nice to have the test class name, so that we can include it in the name.

If this sounds reasonable, then I can make the change and send a PR with some guidance. :)

christian-bromann commented 7 years ago

Please do , thanks

kaushlakers commented 7 years ago

What do you think is reasonable to expose? I just realized I can customize quite easily for my use case, where I need just the suite name, since the reporter generates 1 file per suite.

christian-bromann commented 7 years ago

Not sure which data is available to you?

kaushlakers commented 7 years ago

I found a work around for my specific use case and I don't think it makes sense to push that change here. Closing this. Thanks! 😄