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

Unable to pass testcase name regular expression #44

Closed prakashomp closed 6 years ago

prakashomp commented 7 years ago

Hi,

I am passing reporter options as below

reporters: ['dot', 'junit'], reporterOptions: { junit: { outputDir: './reporter', suiteNameFormat:'/[^a-z0-9A-Z :; *]+/' } } But it is not working I want test case name as like as test case

Regards OmPrakash

christian-bromann commented 7 years ago

@prakashomp are you using latest package version?

prakashomp commented 7 years ago

Yes,I am using latest package version.

prakashomp commented 6 years ago

@christian-bromann , here suiteNameFormat is not working. Do we have any method to set xml file name as test name?

christian-bromann commented 6 years ago

use the outputFileFormat option like in the example in the README.md