Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 months 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-24T16:42:59.000Z (almost 3 years ago)
- Last Synced: 2024-10-28T15:26:45.524Z (3 months 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.
[![npm](https://img.shields.io/npm/v/@naturalcycles/junit-lib/latest.svg)](https://www.npmjs.com/package/@naturalcycles/junit-lib)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](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