Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including junit-merge with all npm packages installed. Try it out:

junit-merge lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("junit-merge/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

junit-merge v2.0.0

NodeJS CLI for merging JUnit XML test results


CircleCI Coverage Status code style: prettier Greenkeeper badge

NodeJS CLI for merging JUnit XML test results

This version works with Node 6, Node 8, and Node 10. It drops support for Node 4


npm install -g junit-merge

Or just download the repository and include it in your node_modules directly.


Usage: junit-merge [options] <xmlFile1.xml> [xmlFile2.xml..]


   -V, --version           output the version number
   -d, --dir <path>        merge all results in directory
   -C, --createDir         create the output directory if missing
   -r, --recursive         pass to recursively merge all results in directory
   -o, --out <mergedfile>  file to output to (default: ./merged-test-results.xml)
   -h, --help              output usage information


Feel free to submit issues and/or PRs! In lieu of a formal style guide, please follow existing styles.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free