31

I remember that I used a program for viewing JUnit XML reports two years ago, but I forgot their name and can't google it.

Could you recommend me a simple standalone app (i.e. not IDE) for viewing JUnit XML reports?

3
  • 2
    What OS? What pricing? Apr 28, 2014 at 17:40
  • 2
    Free, for Windows. Thx Nick for asking.
    – 2xMax
    Apr 28, 2014 at 18:02
  • 2
    (as I remember the tool I used before was a single jar file working in any OS)
    – 2xMax
    Apr 28, 2014 at 18:03

4 Answers 4

18

I got super annoyed with this too so I build a tool myself

https://www.npmjs.com/package/junit-viewer

easy to install and use (requires node but no javascript knowdledge)

2
  • Just used this tool. Works like a charm. Sep 9, 2015 at 11:36
  • I updated this a while ago to a more modern (and better) versionhttps://www.npmjs.com/package/xunit-viewer Jun 4, 2019 at 7:40
5

I wanted the same thing for YEARS, I finally found the time to make what I needed and it can be found here: https://github.com/inorton/junit2html

It generates full a full detailed single HTML page that contains all of the test results and captured content with a reasonably easy to browse index.

1
  • 1
    That screenshot isn't anything I recognise
    – IanNorton
    Sep 21, 2022 at 6:04
4

Try these;

Alternatively, if you really want to stick with the [limitations] XML reports, you can write a XML stylesheet (aka XSLT), that you can merge with your XML reports to produce almost any output. A quick Google around shows that this has been attempted before;

If you want to write you own;

All of the above are FOSS software.

1
  • I'm sorry, but it is not an answer. I want a simple standalone app, not build script, not an IDE.
    – 2xMax
    Apr 28, 2014 at 21:14
1

I've created a Online JUnit Result Parser/Viewer with just plain Javascript https://lotterfriends.github.io/online-junit-parser/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.