merge-junit

Crates.iomerge-junit
lib.rsmerge-junit
version0.2.1
sourcesrc
created_at2022-08-08 18:51:49.386047
updated_at2024-07-06 14:41:48.476026
descriptionCLI utility to merge JUnit compliant XML documents into a single XML document.
homepagehttps://github.com/tobni/merge-junit
repositoryhttps://github.com/tobni/merge-junit
max_upload_size
id640988
size66,890
Tobias Nilsson (tobni)

documentation

README

merge-junit

Merging JUnit XML files.

Installation

Via npm:

$ npm i merge-junit
$ npx merge-junit --version
merge-junit 0.2.1

Downloading binaries (e.g Linux):

$ curl -L https://github.com/tobni/merge-junit/releases/download/v0.2.1/merge-junit-v0.2.1-x86_64-unknown-linux-musl.tar.gz | tar -xz
$ ./merge-junit-v0.2.1-x86_64-unknown-linux-musl/merge-junit --version
merge-junit 0.2.1

From source:

$ git clone https://github.com/tobni/merge-junit
$ cd merge-junit
$ cargo build --release
$ ./target/release/merge-junit --version
merge-junit 0.2.1

Usage example

Some test runners run in parallel and produce many small JUnit reports. Stitching them together to feed a GUI / reporting application can increase readability.

$ merge-junit *.xml -o merged-tests.xml

Development setup

Uses rustfmt and clippy.

$ git clone https://github.com/tobni/merge-junit
$ cd merge-junit
$ cargo test
Commit count: 68

cargo fmt