Skip to content

[SUGGESTION] Add configuration to pass extra filters when running tests from Test Explorer #365

@tverboon

Description

@tverboon

Describe the feature you'd like

We have a couple of system integration tests we don't want to run in a normal test run. In VSCode we have test tasks that passes a filter to dotnet test command to exclude these tests. Like this: dotnet test --filter Category!=SystemIntegration

It would be nice if we could configure extra arguments that will be passed to the dotnet test command when running the tests from Test Explorer.

Alternatives considered

No response

Environment Information

OS: macOS
Visual Studio Code: 1.81.0
Extension:

  • C#: v2.0.328
  • C# DevKit: v0.4.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-testTest discovery, execution, debuggingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions