I have a visual studio test assembly. There are several test methods of which a few methods have TestCategoryAttribute
on them and others don't. I want to filter out all the methods that do not contain the attribute from getting executed, i.e, uncategorized tests should not be executed.
I am trying to have something like this which does not work.
vstest.console.exe MyTests.dll /TestCaseFilter:"(TestCategory!=)"
Looking for the right syntax. I am using Visual Studio 2015.