lukejpreston / junit_viewer

Start a mini service to view junit reports
39 stars 17 forks source link

Make it work with output of nightwatch #29

Closed redrockzee closed 7 years ago

redrockzee commented 8 years ago

I'm wondering if you can make it work with Nightwatchjs.

Nightwatch produces something like this where the real failure message shows up in the message sttribute. junit-viewer shows the value instead.

at Object.module.exports.DOV Index Page (C:\devel\dov\tests\tests\dov.js:5:14) at _combinedTickCallback (internal/process/next_tick.js:67:7)
lukejpreston commented 8 years ago

junit viewer favours the inner message over the attributes. it has to pick one or the other. Is nightwatchjs producing 2 different values for this? If so the only thing I can think to do is make it so there is an extra option to pick whether you want to use attributes or to use inner message. But it might be simpler to raise it with nightwatch...

lukejpreston commented 7 years ago

this project is now deprecated, please see https://github.com/lukejpreston/xunit-viewer which supports the same features