junitify 0.1.8

Takes cargo test JSON and transform to JUnit XML
junitify-0.1.8 is not a library.

junitify

junitify on crates.io pipeline

junitify takes JSON tests from stdin and writes JUnit XML results into stdout, or into a directory specified with --out.

This can be used to integrate with CI/CD platforms that uses JUnit XML format to show tests results in the UI, such as Gitlab.

Installation

cargo install junitify

Example

cargo test -- --format=json -Z unstable-options --report-time | junitify --out tests/

CI/CD Docker Image

docker pull jonathanxd/junitify:latest

CI/CD Example

You can find an example of CI/CD usage in bindet .gitlab-ci.yml, and see how they look like in one of the pipeline reports.