Skip to content

Command --filter "FullyQualifiedName!=TestProject1.UnitTest1.Test1" breaks the retry #91

@kristofturanszki

Description

@kristofturanszki

Describe the Bug

I have setup a test that fails every time, and ran the retest tool, like this:
dotnet retest --retries 3 -- --verbosity m --results-directory TestResult/IntegrationTest ./TestProject1.dll --filter "FullyQualifiedName!=TestProject1.UnitTest1.Te st1"
And the result clearly shows that there are no retries, just an exception:

Image

Steps to Reproduce

  • Create a test project with 1 test that fails every time
  • Run the dotnet retest with additional parameter: --filter "FullyQualifiedName!=FailingTest'sName"
  • The run will fail after the first test run

Expected Behavior

The dothet retest should also ignore these tests

Version Info

Image

Back this issue
Back this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions