https://github.com/naturalcycles/junit-lib
Convert junit xml to html, merge multiple junit xml reports.
https://github.com/naturalcycles/junit-lib
cli html junit xunit
Last synced: 5 days ago
JSON representation
Convert junit xml to html, merge multiple junit xml reports.
- Host: GitHub
- URL: https://github.com/naturalcycles/junit-lib
- Owner: NaturalCycles
- Created: 2019-05-05T03:41:11.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-03-24T16:42:59.000Z (over 3 years ago)
- Last Synced: 2025-06-30T12:44:57.243Z (14 days ago)
- Topics: cli, html, junit, xunit
- Language: TypeScript
- Homepage:
- Size: 291 KB
- Stars: 3
- Watchers: 13
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
## @naturalcycles/junit-lib
> Convert junit xml to html, merge multiple junit xml reports.
[](https://www.npmjs.com/package/@naturalcycles/junit-lib)
[](https://github.com/prettier/prettier)# Why
I didn't find a good working library in npm to convert junit xml report to html.
# Examples
```sh
# 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
- https://llg.cubic.org/docs/junit/
- https://stackoverflow.com/a/26661423/4919972
- https://www.ibm.com/support/knowledgecenter/en/SSUFAU_1.0.0/com.ibm.rsar.analysis.codereview.cobol.doc/topics/cac_useresults_junit.html