Skip to content

Turn Junit XML reports into self contained HTML reports

License

Notifications You must be signed in to change notification settings

Bochlin/junit2html

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

junit2html by Ian Norton [email protected]

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

About

Turn Junit XML reports into self contained HTML reports

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 97.1%
  • CSS 2.9%