Filter for tests that are uncategorized #5134
Closed
mscottford
started this conversation in
Ideas
Replies: 2 comments
-
Thanks for opening this discussion @mscottford. I converted this to an issue and marked as a feature suggestion. |
Beta Was this translation helpful? Give feedback.
0 replies
-
CLosing the discussion here |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like the ability to generate a list of tests that don't have a category specified. My use case is that I'm trying to monitor the number of tests in my test suite that have not been categorized so that I can ensure the number continues to go down over time as the team adds categories to tests.
I found microsoft/vstest#2818 which concluded with a note that such a feature wouldn't be implemented in
vstest
, so I thought I'd bring up the idea here.I took a peek at the source for
--treenode-filter
to get a sense about whether or not it would work. The only thing that isn't clear to me from reading through it is how categories would be represented for tests that haven't had a category defined. Would that be an empty string? And then I could write an expression that searches for tests with a 0 length category? Perhaps with^$
.Beta Was this translation helpful? Give feedback.
All reactions