alex alex - 7 months ago 33
C# Question

What is the default value for test priority when PriorityAttribute is not set?

On a TFS build server, I want to run tests that does not have PriorityAttribute set and tests that have priority set to 5. How can I write in "test case filter" that test "does not have priority set"?

I've tried

, but it does not seem to include test without PriorityAttribute.


I've checked the output from mstest.exe. It turns out the default value for priority is 2147483647.