# newman-reporter-testops

> newman reporter for Allure

Latest version **1.0.12** (published 2022-06-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install newman-reporter-testops
pnpm add newman-reporter-testops
yarn add newman-reporter-testops
bun add newman-reporter-testops
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.12 |
| Published | 2022-06-21 |
| First published | 2022-04-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 493.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | qaottx21 |
| Keywords | allure, newman, reporter, reports, api, postman, tests |

## Links

- npm: https://www.npmjs.com/package/newman-reporter-testops
- npm.io page: https://npm.io/package/newman-reporter-testops

## Dependencies (3)

- [lodash](https://npm.io/package/lodash.md) ^4.17.15
- [allure-js-commons](https://npm.io/package/allure-js-commons.md) ^2.0.0-beta.6
- [newman-reporter-testops](https://npm.io/package/newman-reporter-testops.md) ^1.0.7

## Recent versions

- 1.0.12 (latest) — 2022-06-21
- 1.0.11 — 2022-04-26
- 1.0.10 — 2022-04-13
- 1.0.9 — 2022-04-13
- 1.0.8 — 2022-04-13
- 1.0.7 — 2022-04-05

## README

# newman-reporter-testops

This is a custom newman-reporter using Allure-js framework and TestOps.
This reporter based on https://github.com/ervirendersingh/newman-reporter-allure


### Installation
```console
$ npm install -g /path/to/newman-reporter-testops/ --save
```

### Usage
To generate Allure results, specify `testops` in Newman's `-r` or `--reporters` option.

```console
$ newman run <Collection> -e <Environment> -r testops
$ newman run <Collection> -e <Environment> -r testops --reporter-testops-export <testops-results-out-dir>
```

### Generating and Serving Allure report

Results will be generated under folder "allure-results" in the root location.
Use allure-commandline to serve the report locally.
  ```console
  $ allure serve
  ```
Generate the static report web-application folder using allure-commandline 
 ```console
  $ allure generate --clean
  ```
Report will be generated under folder "allure-report" in the root location.

<img alt="Screenshot" src="screenshots/screenshot.jpg" width="70%" height="70%"/>

### Matching Postman autotests to test cases in Testops

In each postman request need to set case id, like (id: case_id)

<img alt="Screenshot" height="70%" src="screenshots/screenshot_2.jpg" width="70%"/>

How it looks in TestOps

<img alt="Screenshot" height="70%" src="screenshots/screenshot_3.jpg" width="70%"/>

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