mocha-jenkins-reporter
mocha-jenkins-reporter copied to clipboard
Possible to include more details about failures in test output?
It would be helpful to see these details in jenkins:
- the test definition (
.on('fail', ... -> test.body
) - the test file name (
.on('fail', ... -> test.file
) - the test stack trace (
.on('fail', ... -> test.stack
)
Even if they were only exposed in some sort of an opt-in configuration.
I see now that you have JUNIT_REPORT_STACK
. So I guess the request here is just to have similar options for JUNIT_REPORT_BODY
/ JUNIT_REPORT_FILE
Ideally, I think it would be amazing to see a copy of the body of the test with the line that failed highlighted.