DUnitX
DUnitX copied to clipboard
ability to exclude tests by name at runtime
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.
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.