DUnitX icon indicating copy to clipboard operation
DUnitX copied to clipboard

ability to exclude tests by name at runtime

Open edgimar opened this issue 5 years ago • 1 comments

There are the run and runlist commandline arguments that can be used to specify what tests to include, but it would be nice to have a norun argument (or a syntax in the case of runlist, like a '-' prefix) that can be used to indicate tests to exclude at runtime.

edgimar avatar Jul 16 '20 21:07 edgimar

You can exclude by using categories, but it shouldn't be too hard to modify run/runlist to accept a '-' prefix - TNameFilter.Match would be the place to look at for that. Unfortunately I don't have time to work on this right now but will accept a pull request with this.

vincentparrett avatar Jul 17 '20 02:07 vincentparrett