• Stars
    star
    124
  • Rank 286,534 (Top 6 %)
  • Language
    Python
  • License
    MIT License
  • Created about 8 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Turn Junit XML reports into self contained HTML reports

junit2html by Ian Norton [email protected]

Hosted at https://gitlab.com/inorton/junit2html

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

Basic Usage:

$ junit2html JUNIT_XML_FILE [NEW_HTML_FILE]

or

$ python -m junit2htmlreport JUNIT_XML_FILE [NEW_HTML_FILE]

eg:

$ junit2html pytest-results.xml testrun.html

or

$ python -m junit2htmlreport pytest-results.xml

Advanced Usage:

Render Text summary of results

junit2html mytest-results.xml --summary-matrix

Render Text sumamry of results and exit non-zero on failures

junit2html --summary-matrix ./tests/junit-unicode.xml --max-failures 1

Installation

$ sudo python setup.py install

or

$ sudo pip install junit2html

Example Outputs

You can see junit2html's own test report output content at: https://gitlab.com/inorton/junit2html/-/jobs/artifacts/master/browse?job=python36

An an example of the "matrix" report output can be found at: https://gitlab.com/inorton/junit2html/-/jobs/artifacts/master/file/tests/matrix-example.html?job=python39

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/

Source and Releases

Junit2html is maintained on gitlab at https://gitlab.com/inorton/junit2html

The current master build status of junit2html is: pipeline status

The current coverage status is: coverage report

Releases are availible via Pypi using pip

More Repositories

1

cclash

ccache / clcache inspired compiler cache for cl.exe
C#
75
star
2

EDMCOverlay

An overlay plugin for ED Market Connector
C#
71
star
3

EDMCHits

System safety reports for EDMC
Python
32
star
4

XR.Baboon

A Code coverage toolset and GUI for c# on mono and gcov
C#
28
star
5

EDMCJumpSpeed

A Jump Speed plugin for EDMC
Python
18
star
6

MoonBase

Simple Moonlight MVVM for Desktop Applications on Mono
C#
10
star
7

Balsamiq-Scripts

Shell scripts for batch operations with Balsamiq Mockups
Perl
8
star
8

XamlPreviewer

Xaml (moonlight/silverlight) previewer for mono
C#
7
star
9

cam-analytica

Python extracted from deleted MichaelPhillipsData/GitSampleCode github repo
Python
5
star
10

dropgit

DropBox style remote folder/share based on git
Perl
5
star
11

XR.Mono.Perforce

Cross platform perforce client wrapper for c#/mono
C#
4
star
12

StyleCopCmd

StyleCop + StyleCopCmd made to run on mono (linux)
C#
4
star
13

csdiff

Generic C# (.net/mono) Diff and Longest Common Subsequence utility class ( currently broken )
C#
4
star
14

slp-sharp

C# Client library for OpenSLP service location
C#
4
star
15

xr-http-json

A fairly simple client/server json RPC and HTTP server skeleton for Mono/.Net using JayRock's Json library.
C#
3
star
16

mono-ubuntu-build

automated build scripts for the latest stable mono and monodevelop on ubuntu
Shell
3
star
17

xrlist

A Simple linked-list implementation for C
C
3
star
18

p4-sharp

perforce vcs support library for c# on mono
C#
3
star
19

EDMCMinersMate

A EDMC Plugin for Miners
Python
2
star
20

EDMCCockpit

Web Based Cockpit Instruments plugin for EDMC
Python
2
star
21

genproj

Generate and update csproj files from the command line
C#
2
star
22

bpp

Balsamiq Mockups Pre-processor
C#
2
star
23

sbsigntool

mirror of git://kernel.ubuntu.com/jk/sbsigntool
C
2
star
24

ForceGraph

Force Directed Graph in C# using Hooke's and Coulomb's laws
C#
2
star
25

EDMCHitsServer

Server for EDMCHits
Java
1
star
26

xrhash

A simple and fairly fast hashtable (Dictionary) implementation in C
C
1
star
27

cc2-movable-turrets

A CC2 Mod that allows island defence turrets to be moved by ground units
1
star
28

xr-chrome

Desktops apps with Chrome, HTML5, C# and Javascript (mono and .net)
C#
1
star
29

oorte

Object Oriented Javascript Rich Text Editor ( fork of RTE )
JavaScript
1
star
30

HttpFileStream

A .Net/mono seekable stream for files over http.
C#
1
star
31

Resistance.Opts

A reflection based command line parser using Mono.Options
C#
1
star