# testcafe-reporter-xunit

> xUnit TestCafe reporter plugin.

Latest version **2.2.3** (published 2023-07-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install testcafe-reporter-xunit
pnpm add testcafe-reporter-xunit
yarn add testcafe-reporter-xunit
bun add testcafe-reporter-xunit
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: no vulnerabilities; high maintenance score.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.2.3 |
| Published | 2023-07-07 |
| First published | 2015-12-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 9 |
| Author | Developer Express Inc. |
| Maintainers | artem-babich, aleks-pro, aleksey_popov, dmitry-ostashev, miherlosev, kirovboris, alexkamaev |
| Keywords | testcafe, reporter, plugin, xunit, junit, nunit |

## Links

- npm: https://www.npmjs.com/package/testcafe-reporter-xunit
- Repository: https://github.com/DevExpress/testcafe-reporter-xunit
- Homepage: https://github.com/DevExpress/testcafe-reporter-xunit#readme
- Issues: https://github.com/DevExpress/testcafe-reporter-xunit/issues
- npm.io page: https://npm.io/package/testcafe-reporter-xunit

## Recent versions

- 2.2.3 (latest) — 2023-07-07
- 2.2.2 — 2022-12-12
- 2.2.1 — 2021-12-21
- 2.2.0 — 2021-12-21
- 2.1.0 — 2017-01-02
- 2.0.0 — 2016-07-27
- 1.0.0 — 2015-12-09

## README

# testcafe-reporter-xunit
[![Build Status](https://travis-ci.org/DevExpress/testcafe-reporter-xunit.svg)](https://travis-ci.org/DevExpress/testcafe-reporter-xunit)

This is the **xUnit** reporter plugin for [TestCafe](http://devexpress.github.io/testcafe).

<p align="center">
    <img src="https://raw.github.com/DevExpress/testcafe-reporter-xunit/master/media/preview.png" alt="preview" />
</p>

## Install

This reporter is shipped with TestCafe by default. In most cases, you won't need to install it separately.

However, if you need to install this reporter, you can use the following command.

```
npm install testcafe-reporter-xunit
```

## Usage

When you run tests from the command line, specify the reporter name by using the `--reporter` option:

```
testcafe chrome 'path/to/test/file.js' --reporter xunit
```


When you use API, pass the reporter name to the `reporter()` method:

```js
testCafe
    .createRunner()
    .src('path/to/test/file.js')
    .browsers('chrome')
    .reporter('xunit') // <-
    .run();
```

## Author
Developer Express Inc. (https://devexpress.com)

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