Skip to content
Turn Junit XML reports into self contained HTML reports
Branch: master
Clone or download
Latest commit 73ff9d8 Dec 22, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
junit2htmlreport Allow running via `python -m junithtmlreport` Dec 14, 2017
LICENSE initial commit Jun 21, 2016
junit2html Changed junit2html shebang to use /usr/bin/env. May 31, 2017

Moved to

junit2html by Ian Norton

This is a simple self-contained python tool to produce a single html file from a single junit xml file.




$ junit2html pytest-results.xml testrun.html


$ sudo python install

About Junit

Junit is a widely used java test framework, it happens to produce a fairly generic formatted test report and many non-java things produce the same files (eg py.test) or can be converted quite easily to junit xml (cunit reports via xslt). The report files are understood by many things like Jenkins and various IDEs.

The format of junit files is described here:


Junit2html is kindly tested on Travis:

Travis CI

You can’t perform that action at this time.