Closed karoletrych closed 3 years ago
Running tests using multiple workers codeceptjs run-workers 5 and using mocha-junit-reporter .
codeceptjs run-workers 5
mocha: { "reporterOptions": { "mochaFile": "output/result.xml" } }
Result file is overwritten by last test which was executed.
I tried adding [hash] as stated in mocha-junit-reporter Readme:
mocha: { "reporterOptions": { "mochaFile": "output/result.[hash].xml" } },
But when i do that output xml isn't generated at all.
Nevermind, forgotten about --reporter mocha-junit-reporter when testing the [hash] version 😅
Thanks for the indirect tip with "[hash]". That is what I was looking for!
What are you trying to achieve?
Running tests using multiple workers
codeceptjs run-workers 5
and using mocha-junit-reporter .What do you get instead?
Result file is overwritten by last test which was executed.
I tried adding [hash] as stated in mocha-junit-reporter Readme:
But when i do that output xml isn't generated at all.
Details