How do I specify the below Newman Reporter options, which are normally done via the command line like this:
newman run .\API-Common.postman_collection.json 44321 --reporter-cli-no-failures --reporter-cli-no-summary --reporter-cli-no-assertions --reporter-cli-no-success-assertions
Using the API like this:
newman.run({
collection,
environment,
globals,
reporters: ['cli'],
reporter: {
cli: {
???
}
},
insecure: 'true'
}, process.exit);
The newman API reference doesn't seem to indicate how this is done: Newman API
newman.run({
collection,
environment,
globals,
reporters: ['cli'],
reporter: {
cli: {
'noSummary': true
}
},
insecure: 'true'
}, process.exit);
just pass it without reporter-reortername