NewmanPostman_VSTS_Task
NewmanPostman_VSTS_Task copied to clipboard
input forceNoColor does not work.
Newman option is documented as:
--color
Enable or Disable colored CLI output. The color value can be any of the three: on, off or auto(default). With auto, Newman attempts to automatically turn color on or off based on the color support in the terminal. This behaviour can be modified by using the on or off value accordingly.
But code uses:
let forceNoColor = tl.getBoolInput('forceNoColor');
newman.argIf(forceNoColor, ['--no-color']);
In addition changes were made for HTML report, I guess not a common used option, but we should envision a support for postman version 4 ?
I would say we update the task to support the latest version. When you're installing it on a hosted agent, whatever is installed by npm by default is what people will be using. I would assume postman isn't planning to support older versions, but something we should probably look into