Was having the same issue regarding specifying CLI Reporter Options and the camelCase seems to be working for no-banner and no-failures, but no-assertions does not seem to work. If I call newman outside of node and specify “–reporter-cli-no-assertions” it works fine. I am using:
Node: V8.10.0
Newman V4.1.0
Here is my config:
reporters: [‘cli’],
reporter: {
‘cli’: {
‘noBanner’: true,
‘noAssertions’: true,
‘noFailures’: true
}
}
UPDATE! - While troubleshooting I had upgraded to Newman V4.1.0 and realized I ran the test outside of node before I had upgraded. Re-ran the command line and it no longer worked. Downgraded back to Newman V3.9.3 and it now works on both the command line and camelCase calling from node.
"–reporter-cli-no-assertions” is still in the docs, was it deprecated or is it a bug in V4.1.0?