@bam.tech/jest-junit-reports-merger
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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

pnpm i @bam.tech/jest-junit-reports-merger # or npm i

(2) Run the tool

jjrm -o <output> <blob>

Contribute

Feel free to contribute to this project by opening issues or pull requests. To run the tests, you can use the following command:

pnpm test # or npm test

Dependents (0)

Package Sidebar

Install

npm i @bam.tech/jest-junit-reports-merger

Weekly Downloads

4

Version

1.1.0

License

MIT

Unpacked Size

114 kB

Total Files

28

Last publish

Collaborators

  • vicprz
  • robingullo
  • thomasre
  • matthieug
  • evej
  • charlotteisambertbam
  • remilry
  • matthieugbam
  • hugok
  • pierrezimmermann
  • pierpo
  • alexisd
  • p0labrd
  • antoine-cottineau
  • laurence923
  • cyrilbo
  • clementtab
  • antoined
  • marekkalnik
  • almouro
  • tychota
  • julienc6
  • minishlink