1.0.12 • Published 2 years ago

newman-reporter-testops v1.0.12

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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

$ npm install -g /path/to/newman-reporter-testops/ --save

Usage

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

$ 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.

$ allure serve

Generate the static report web-application folder using allure-commandline

 $ allure generate --clean

Report will be generated under folder "allure-report" in the root location.

Matching Postman autotests to test cases in Testops

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

How it looks in TestOps