TFS Test Filter Criteria syntax

500 Views Asked by At

I am struggling with excluding tests in automated TFS run.

In settings for Test filter criteria gave but the it doesn't seem to exclude the tests in that category ($(TestFilter))&(TestCategory!~) Also tried ($(TestFilter))&(TestCategory!=)

Any suggestions or examples on how to use the filter queries?

TIA

1

There are 1 best solutions below

1
Leo Liu On

TFS Test Filter Criteria syntax

To exclude the tests in that category, you could set following test category filters in the VS test task:

TestCategory!=Manual

enter image description here

For more details about filtering pleace take a look here