Closed
Description
Hi
I'd like to generate a JUnit report for my tests, and include a screenshot, which is automatically saved by codeceptjs on fail.
Searching didn't give any results. But maybe there is a simple way to achieve this though?
This is a part of my config describing reporter options:
helpers: {
Puppeteer: {
uniqueScreenshotNames: true,
[...]
}
},
mocha: {
reporterOptions: {
codeceptjs-cli-reporter: {
stdout: "-",
options: {
debug: true
}
},
mocha-junit-reporter: {
stdout: "./output/console.log",
options: {
mochaFile: "./output/result.xml"
}
}
}
},
here's how I run tests:
codeceptjs run --reporter=mocha-multi
Metadata
Metadata
Assignees
Labels
No labels