This is a fork of https://github.com/ervirendersingh/newman-reporter-allure
A newman reporter for generating nice and clean report using Allure-js framework
# global install
$ npm install -g @danvargas46/newman-reporter-allure
# local project install
$ npm install @danvargas46/newman-reporter-allure
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.
To generate Allure results, specify allure
in Newman's -r
or --reporters
option.
$ newman run <Collection> -e <Environment> -r allure
$ newman run <Collection> -e <Environment> -r allure --reporter-allure-export <allure-results-out-dir>
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.