@testream/junit-reporter
v1.0.1
Published
CLI and library to convert JUnit XML to CTRF and upload results to Testream
Downloads
297
Maintainers
Readme
@testream/junit-reporter
Run JUnit XML conversion and send the results from your codebase to Jira via Testream.
CI Example (GitHub Actions)
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '17'
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: npm install -g @testream/junit-reporter
- run: mvn -B test -Dmaven.test.failure.ignore=true
- run: |
testream-junit \
--api-key "${{ secrets.TESTREAM_API_KEY }}" \
--fail-on-errorBy default, testream-junit reads JUnit XML from target/surefire-reports/TEST-*.xml.
Use --junit-path only if your reports are in a different location.
For CLI options and CI examples, see https://docs.testream.app/reporters/junit.
