1.0.10 • Published 2 months ago

collsuite v1.0.10

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

cusomization of newman-reporter-allure for personal purposes

A newman reporter for generating nice and clean report using Allure-js framework with collection name as a suite en report results

Installation

$ npm install -g collsuite

Usage

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

$ newman run <Collection> -e <Environment> -r collsuite
$ newman run <Collection> -e <Environment> -r collsuite --reporter-collsuite-export <allure-results-out-dir>

Use the option --reporter-collsuite-collection-as-parent-suite to use the collection name as the parent suite title under the Suites view. This helps when you run multiple collections and want to aggregate them in a single report.

Use the option

    reporters: ['collsuite'],
    reporter: {
      collsuite: {
        collectionAsParentSuite: true
      }
    }

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.

Screenshot

1.0.10

2 months ago

1.0.9

2 months ago

1.0.8

3 months ago

1.0.7

1 year ago