xolvio/jasmine-unit

Reports don't show in html reporter (junit xml reports)

Closed this issue · 1 comments

Jasmine-unit tests execute and display results in console but not in html reporter.

Digging into this, the junit xml reports are not written.

This is due to a bug in the underlying jasmine-reporters npm package that jasmine-node depends on. I've submitted a bug fix for it here but it may be a while before it is available for use in jasmine-node.

To get it working again quickly I think we have to fork jasmine-node, include the patch, release it to npm, and switch jasmine-unit over to using that fork.

What do you guys think? Any other ways you can think of to get the fix applied?

I pushed jasmine-unit v0.1.17 which uses a new npm package, jasmine-node-reporter-fix and resolves this issue. The jasmine-node-reporter-fix package has the fix for jasmine-reporters.

Once my upstream patch is accepted we can go back to the regular jasmine-node.