https://github.com/bamlab/jest-junit-reports-merger
Merge multiple junit reports into one
https://github.com/bamlab/jest-junit-reports-merger
Last synced: about 1 year ago
JSON representation
Merge multiple junit reports into one
- Host: GitHub
- URL: https://github.com/bamlab/jest-junit-reports-merger
- Owner: bamlab
- License: mit
- Created: 2022-11-25T11:20:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-25T17:35:14.000Z (over 3 years ago)
- Last Synced: 2025-06-01T03:35:09.193Z (about 1 year ago)
- Language: TypeScript
- Size: 437 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jest JUnit Report Merger
Given a directory containing multiple JUnit XML reports, this tool will merge them into a single report.
## Why?
Other tools exist that can merge JUnit XML reports, but they were loosing the suite name and merging everything in the same suite.
This tool will merge the reports and introduce and intermediate suite for each report.
The code of the other solution were also hard to test and maintain (no typescript).
## Commands
To use this tool, you must have Node installed. Then, you can run the following commands:
(1) Install dependencies
```bash
pnpm i @bam.tech/jest-junit-reports-merger # or npm i
```
(2) Run the tool
```bash
jjrm -o
```
## Contribute
Feel free to contribute to this project by opening issues or pull requests.
To run the tests, you can use the following command:
```bash
pnpm test # or npm test
```