/junit-lib

Convert junit xml to html, merge multiple junit xml reports.

Primary LanguageTypeScript

@naturalcycles/junit-lib

Convert junit xml to html, merge multiple junit xml reports.

npm code style: prettier

Why

I didn't find a good working library in npm to convert junit xml report to html.

Examples

# Convert `report.xml` into `report.html`
junit2html report.xml --out report.html

# Merge all xml files in `report` dir into one html report
junit2html './reports/**/*.xml' --out report.html

API

  • junit2html

Packaging

  • engines.node: Latest Node.js LTS
  • main: dist/index.js: commonjs, es2020
  • types: dist/index.d.ts: typescript types
  • /src folder with source *.ts files included

JUnit xml specification