cmaccorm / newman-reporter-basicmarkdown

A basic Markdown reporter for Newman.
https://www.npmjs.com/package/newman-reporter-basicmarkdown
2 stars 1 forks source link

Could not find "markdown" reporter #3

Closed skemp-PCS closed 11 months ago

skemp-PCS commented 1 year ago

I installed the reporter via npm install -g newman-reporter-basicmarkdown

When trying to run my collection using the command newman run "XXX.postman_collection.json" -e "XXX.postman_environment.json" -r markdown I am getting the error

newman: could not find "markdown" reporter
  ensure that the reporter is installed in the same directory as newman
  please install reporter using npm
nitjsefni-bert commented 11 months ago

Hello,

just use:

newman run "XXX.postman_collection.json" -e "XXX.postman_environment.json" --reporters basicmarkdown --reporter-basicmarkdown-export ../results/examplefile.txt

skemp-PCS commented 11 months ago

Thank you very much for the information, this has worked perfectly. Hopefully, the documentation can be updated to reflect how it's supposed to work