How to exclude name of ordered test from test results on tfs build?

255 Views Asked by At

I have a few ordered tests with some UI tests. Then I have one ordered test which contains other ordered tests:

enter image description here

This ordered test (which contains many others ordered tests) is running every night within TFS Build. If some UI tests faile, then names of ordered tests in which are failed tests are displayed in test results from TFS Build:

enter image description here

Is it possible with any settings to exclude the name of the ordered tests from test results? I would like to see in the test results just names of the failed tests.

1

There are 1 best solutions below

2
On

I believe when creating a build definition in TFS build you can specify if tests should be run on the process tab of the build definition.

Part of the parameters for the tests is the Test sources spec value which (in my TFS anyway) defaults to **\*test*.dll;**\*test*.appx

Perhaps if you put the tests you don't want to run in a different assembly that doesn't match the filter you can get what you want.

Alternatively there is also a parameter with the name Test case filter, but I'm not familiar with what you can put in there to filter tests, but the name sounds promising.