newman-reporter-html
newman-reporter-html copied to clipboard
Newman - command-line option to suppress test success details from output
We're developing data-driven test collections that perform a lot of validations using requests generated from sets of data retrieved from the database. The Newman output from a test run is becoming ... rather unwieldy.
It would be really nice if there was a way to tell Newman to not report the details of successful tests, just failed ones.
That would collapse this verbose clutter down to one row in the output:
Note: the very specific test names are due to the Newman HTML output collapsing test results for multiple executions of the same request with different parameters. See issue postmanlabs/newman-reporter-html#189.
Newman 4.3.1, HTML output WIN10 CLI
@jhardin-aptos Would using a different reporter, that doesn't aggregate the executions help in the short term?
https://www.npmjs.com/package/newman-reporter-htmlextra
Hm. Potentially.
I also didn't think to take a look at the HTML template options to see if there's a way to create a template that doesn't include the test successes.
Thanks for the suggestion, I will take a look at both possibilities.
@jhardin-aptos Just to let you know I've included options in the htmlextra
reporter that will show you only the failed
requests and also filtering around the test section. Not sure if this will help with your problem.
@codenirvana I'm working on this