1.0.12 • Published 3 years ago
newman-reporter-testops v1.0.12
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/ --saveUsage
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 serveGenerate the static report web-application folder using allure-commandline
$ allure generate --cleanReport 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