# jest-junit

> Jest reporter that writes JUnit XML files

Source: https://talira.ai/catalog/jest-junit-k7y42d3p
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Plugin
- Categories: [developer tools / testing / reports](https://talira.ai/categories/developer-tools/testing/reports), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Licence: Apache-2.0[^3]
- Pricing: Free and open source[^2]
- Pricing notes: Free and open source (Apache-2.0).
- Free tier: yes[^2]
- Backed by: [Jest Community](https://talira.ai/orgs/jest-community.md)

jest-junit is a [Jest](https://talira.ai/catalog/jest-wp596gce.md) reporter that writes test results as JUnit-compatible XML, the format CI systems read for test reports. You add it to Jest's reporters, and set the output path, file name and the templates for suite, class and test names through environment variables, a jest-junit key in package.json or reporter options. It can also run as a testResultsProcessor, which is kept only for legacy reasons.

## Links

- GitHub: https://github.com/jest-community/jest-junit

## Problems it solves

- show Jest test results in my CI's test report tab
- get a JUnit XML file out of my Jest run for my CI server
- publish JavaScript test results to a CI dashboard

## Features

- writes Jest test results as JUnit XML for CI test reports
- output directory, file name and unique file names configurable
- templates for suite, class and test names
- configured by environment variables, package.json or reporter options

## Limitations

- Version 17 needs Node.js 20 or newer.[^1]

## Trust

Overall: 0.41 out of 1.
Signals: maintenance 0.48, adoption 0.54, momentum 0.21, community 0.68, backing 0.30, extensibility 0.00.

- last commit 2 months ago
- 4 commits in the last 90 days
- latest release v17.0.0 7 months ago
- 503 GitHub stars
- 50 contributors
- backed by Jest Community

## Related

- Works with [Jest](https://talira.ai/catalog/jest-wp596gce.md)

## Alternatives

- [rspec_junit_formatter](https://talira.ai/catalog/rspec-junit-formatter-t7hyyxnq.md): Writes RSpec results as JUnit XML that CI services can read
- [minitest-reporters](https://talira.ai/catalog/minitest-reporters-nmrpjxfh.md): Customizable output formats for Ruby's Minitest
- [xcresultparser](https://talira.ai/catalog/xcresultparser-k1dtbnqf.md): Parse the binary .xcresult bundles from Xcode builds and test runs
- [Allure Report](https://talira.ai/catalog/allure-report-wc3w4j10.md): Open source HTML test automation report tool

## Sources

[^1]: https://github.com/jest-community/jest-junit/blob/master/package.json (checked 29 Nov 2026)
[^2]: https://github.com/jest-community/jest-junit/blob/master/README.md (checked 29 Nov 2026)
[^3]: https://github.com/jest-community/jest-junit/blob/master/LICENSE (checked 29 Nov 2026)
