I suggest you ...

Provide named filters for sets of unit tests in the Unit Test Explorer, Test Manager, and Tfs

There needs to be a way of specifying to only run the unit tests that have some specified properties and sharing that criteria with the team and build server. This is not a “list” of tests. This is a query that returns a set of tests.

This could then be used by developer to tester to only run the set of tests they are interested in. That maybe based on namespace, test names, test categories, priority, attributes etc.

This would enable a number of scenarios. There is a start to this for TFS builds but it is limited to use by the build definition. This capability needs to be available in a more general fashion in the Unit Test Explorer, MTM and on TFS.

In theory this query could also be tagged to determine what test agents could run the test set or not run the set.

28 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Jeff BrewerJeff Brewer shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    2 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • käkikäki commented  ·   ·  Flag as inappropriate

        Yes, somehow the filtering capabilities in the Test View are very limited. Once you have couple of thousend tests it's bit hard find the tests you want to run. It would be cool to be able query tests something like:
        -Namespace: BLAA.BLAA.ONE AND !TestCategory: BLAA (Get all tests in BLAA.BLAA.ONE which not have test category BLAA).

      Feedback and Knowledge Base