https://github.com/hkupty/joule-reader
junit xml report files reader
https://github.com/hkupty/joule-reader
Last synced: 3 months ago
JSON representation
junit xml report files reader
- Host: GitHub
- URL: https://github.com/hkupty/joule-reader
- Owner: hkupty
- Created: 2024-10-03T10:23:21.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-02-10T16:14:52.000Z (4 months ago)
- Last Synced: 2025-03-10T04:45:41.794Z (3 months ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Joule Reader
> Joule (J) is the unit of energy in the SI that is equal to the amount of work done when a force of one newton displaces a mass through a distance of one meter in the direction of that force.
It happens to be the `J` unit, which is also a java testing framework and what we're interested in.
Joule reader allows one to easily read JUnit XML reports
## Usage
```bash
# If you want to read the formatted version of the XML files
joule-reader build/junit-test-files/*# If you want to only print the files that have a failure or an error, add the `-x` flag.
# If no tests are red, then it returns 0, otherwise it will have the number of failed/errored test suites
# in the exit code
joule-reader -x build/junit-test-files/*
```