Skip to content

How to exclude tests using dotnet test #349

Description

@jehof

We have decorated some tests with the TagsAttribute to specify them as integration tests

[Tags("Integration")]
public class If_this_happens {
  // rest of code
}

Now we try to run tests through commandline using dotnet test and want to exclude the integration tests. Is there a way to provide a parameter to dotnet test to exclude those tests?

We tried the --filter parameter with no success.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions