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

README.md

Moved to https://gitlab.com/inorton/junit2html

junit2html by Ian Norton inorton@gmail.com

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

Usage:

$ junit2html JUNIT_XML_FILE [NEW_HTML_FILE]

eg:

$ junit2html pytest-results.xml testrun.html

Installation

$ sudo python setup.py 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: http://llg.cubic.org/docs/junit/

Testing

Junit2html is kindly tested on Travis:

Travis CI https://travis-ci.org/inorton/junit2html

You can’t perform that action at this time.