Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NUNIT3-CONSOLE exclude specific test category

The old NUnit 2 console runner had an /exclude parameter to exclude tests with a specific Category attribute. Does anybody know if the console runner of NUnit3 supports this feature?

.\nunit3-console.exe --help doesn't state an exclude parameter. I only can see a Where parameter, can it be used for this purpose?

like image 421
Moerwald Avatar asked Nov 06 '17 06:11

Moerwald


1 Answers

The description of the selection language can be found under this link. Based on that it should be possible to exclude a category via --where "cat != YourCategoryToExclude".

like image 117
Moerwald Avatar answered Nov 03 '22 11:11

Moerwald