I am looking for executing the unit test by ClassName using vstes.console.exe, any help
I tried like
/TestCaseFilter:"ClassName=ProgressTests"
but that throws this error:
Error: No tests matched the filter because it contains one or more properties that are not valid (ClassName). Specify filter expression containing valid properties (TestCategory, Priority, FullyQualifiedName, Name) and try again.
Thanks
vstest path/to/tests.dll /testcasefilter:"ClassName=SomeTestClass"
and it worked just fine. Maybe this support was added back in VS 2019? – Rainproof