# test-results-parser

> Parse test results from JUnit, TestNG, xUnit, cucumber and many more

Latest version **0.4.7** (published 2026-09-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install test-results-parser
pnpm add test-results-parser
yarn add test-results-parser
bun add test-results-parser
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.4.7 |
| Published | 2026-09-23 |
| First published | 2021-09-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 73.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| Author | Anudeep |
| Maintainers | asaianudeep |
| Keywords | JUnit, xUnit, TestNG, parser, parse, test, testing, results, result, report, automation, mocha, cucumber, nUnit, MSTest, testbeats |

## Links

- npm: https://www.npmjs.com/package/test-results-parser
- Repository: https://github.com/test-results-reporter/parser
- Homepage: https://github.com/test-results-reporter/parser#readme
- Issues: https://github.com/test-results-reporter/parser/issues
- npm.io page: https://npm.io/package/test-results-parser

## Dependencies (4)

- [globrex](https://npm.io/package/globrex.md) ^0.1.2
- [totalist](https://npm.io/package/totalist.md) ^3.0.1
- [html-escaper](https://npm.io/package/html-escaper.md) ^3.0.3
- [fast-xml-parser](https://npm.io/package/fast-xml-parser.md) ^5.11.1

## Recent versions

- 0.4.7 (latest) — 2026-09-23
- 0.4.6 — 2026-07-23
- 0.4.5 — 2026-06-10
- 0.4.4 — 2026-03-22
- 0.4.3 — 2026-03-18
- 0.4.0 — 2025-11-29
- 0.3.0 — 2025-11-16
- 0.2.9 — 2025-10-05
- 0.2.8 — 2025-06-22
- 0.2.7 — 2025-06-17
- 0.2.6 — 2025-05-11
- 0.2.5 — 2024-09-01
- 0.2.4 — 2024-08-25
- 0.2.3 — 2024-08-17
- 0.2.2 — 2024-08-04
- … 33 more at https://npm.io/package/test-results-parser/versions

## README

# test-results-parser

Parse test results from JUnit, TestNG, xUnit, Mocha(json), Cucumber(json) and many more

## Support

| Result Type                   | Support |
|-------------------------------|---------|
| TestNG                        | ✅      |
| JUnit                         | ✅      |
| NUnit (v2 & v3)               | ✅      |
| MSTest                        | ✅      |
| xUnit                         | ✅      |
| Mocha (json & mochawesome)    | ✅      |
| Cucumber                      | ✅      |

---
_Source: https://npm.io/package/test-results-parser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
