'Running newman in wine

I'm trying to run a batch script that does a call to newman via the use of wine. The OS i'm using is Mac OS. I however get the following exception: Can't recognise 'newman run ...' as an internal or external command, or batch script.

What am i doing wrong? Is there any workaround for this?

The script looks like this:

   1   │ rem @echo off
   2   │ echo Collection "%testCollection%"
   3   │ echo Profile "%testProfile%"
   4   │
   5   │ newman run %testCollection% -e %testProfile% -r htmlextra --reporter-htmlextra-title "Automated test reporting"

Thanks in advance for any help!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source