vscode-test-explorer icon indicating copy to clipboard operation
vscode-test-explorer copied to clipboard

[Feature Request] tags support in test explorer

Open aey76 opened this issue 6 years ago • 3 comments

Hi, there are some test framework (like catch) that support tags on tests, it will be extremely helpful if we could see the tags in the explorer tree and filter / narrow the tree according to the tags.

aey76 avatar Sep 07 '19 18:09 aey76

Are you using Catch2 and Google Test Explorer?

matepek avatar Sep 08 '19 02:09 matepek

Are you using Catch2 and Google Test Explorer?

Yes, that's right.

aey76 avatar Sep 08 '19 05:09 aey76

Hello @aey76 ,

While we are waiting for this feature you from now with the new feature custom grouping you can group your tests by tags. Try something like this:

  "testMate.cpp.test.advancedExecutables": [
    {
      "pattern": "{build,Build,BUILD,out,Out,OUT}/**/*{suite,test,Test,TEST}*",
      "catch2": {
        "testGrouping": {
          "groupByTags": {
            "groupUngroupedTo": "<no tag>"
          }
        }
      }
    }
  ]

matepek avatar May 16 '20 16:05 matepek