Crates.io | circleci-junit-fix |
lib.rs | circleci-junit-fix |
version | 0.2.3 |
source | src |
created_at | 2022-02-15 12:56:49.766158 |
updated_at | 2024-06-25 08:08:14.035063 |
description | Fixes junit reports to have proper integration with CircleCI |
homepage | |
repository | https://github.com/conradludgate/circleci-junit-fix |
max_upload_size | |
id | 532714 |
size | 8,219 |
CircleCI supports rendering test failures through the use of JUnit files, but it only supports a subset of features.
One such feature is failure test outputs. The spec suggests that stdout
and stderr
contents be captured and added to the <system-out>
and <system-err>
elements respectively.
CircleCI instead only reads the data from the <failure message="...">
attribute only.
cargo install circleci-junit-fix --locked --version 0.2.0
curl -sSL https://github.com/conradludgate/circleci-junit-fix/releases/download/v0.2.0/circleci-junit-fix-v0.2.0-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=/usr/bin
cat path/to/junit/report.xml | circleci-junit-fix > fixed-report.xml