npm.io
1.0.4 • Published 3 years ago

newman-reporter-line

Licence
MIT
Version
1.0.4
Deps
6
Size
6 kB
Vulns
21
Weekly
0

newman-reporter-line

A newman reporter for Line

newman run

Installation

npm install -g newman-reporter-line

Usage

Set the reporter options

Reporter option can be set as environment variables or from reporter options arguments

export LINE_TOKEN='line-token'
export LINE_SUMMARY='true/false'
export LINE_RESULT='true/false'
export LINE_MINIMUM_CASE_NOTIFY=<<number of minimum test case to notify>>
Run newman test with the reporter option -r line

newman run my-collection.postman_collection.json -r cli,line --reporter-line-token 'line-token' --reporter-line-summary true --reporter-line-result true --reporter-line-minCaseToNotify=1