newman-reporter-jsuperman
v0.0.2
Published
newman reporter for Allure (add support to jsuperman cli)
Downloads
2
Maintainers
Readme
This is a fork of https://github.com/dvargas46/newman-reporter-allure
newman-reporter-jsuperman
A newman reporter for generating nice and clean report using Allure-js framework
Installation
# global install
$ npm install -g newman-reporter-jsuperman
# local project install with npm
$ npm install newman-reporter-jsuperman
# local project install with yarn
$ yarn add newman-reporter-jsuperman
Added Functionality
This fork includes more information in the results, such as the request and response headers, cookies, etc. Additionally, cleaned up the formatting a bit when displaying JSON entities.
Usage
To generate Allure results, specify allure
in Newman's -r
or --reporters
option.
$ newman run <Collection> -e <Environment> -r jsuperman
$ newman run <Collection> -e <Environment> -r jsuperman --reporter-jsuperman-export <jsuperman-results-out-dir>
Generating and Serving Allure report
Allure 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.