newman icon indicating copy to clipboard operation
newman copied to clipboard

Command line arg to exclude folders

Open dcmeglio opened this issue 5 years ago • 4 comments

  1. Newman Version (can be found via newman -v): 5.1.0
  2. OS details (type, version, and architecture): Mac OS X 19.3.0
  3. Are you using Newman as a library, or via the CLI? CLI

Really more of a suggestion than an issue. It would be nice if newman could have a --exclude-folder that is the OPPOSITE of --folder

postman.setNextRequest can be used to simulate this, however it requires that tests be in a very particular order. If someone reorders tests they might not realize that that there are such statements in a pre-request script and now we skip the wrong tests.

It would be nice if from newman we could exclude particular folders so that if there are conditional tests, we can simply put them in those folders and alter command line args as needed to include/exclude.

dcmeglio avatar Aug 10 '20 15:08 dcmeglio

@vvs11 Are we looking forward to this request? If yes, I can work on this as this is similar to another feature request related to options.

adityaofficial10 avatar Feb 10 '21 18:02 adityaofficial10

Hey @adityaofficial10

The best person to tag is @vvs11 🏆

DannyDainton avatar Feb 11 '21 19:02 DannyDainton

Hey @adityaofficial10

The best person to tag is @vvs11 🏆

Sure, thanks for guidance.

adityaofficial10 avatar Feb 12 '21 05:02 adityaofficial10

when can we start to use it?

dongokovacs avatar Apr 19 '24 07:04 dongokovacs