Skip to content

dotnet test won't work on clean project #4681

Open
@nohwnd

Description

Describe the bug

Image

Steps To Reproduce

have a solution with test projects, clean it.

run

 $env:DOTNET_CLI_TESTINGPLATFORM_ENABLE=1; dotnet test -bl

Only restore runs and there are no tests.

Tests run on subsequent run.

Expected behavior

test solution is built and all tests run no matter if there was a cleanup before.

Actual behavior

tests don't run

Additional context

binlog of each project in the clean run:

on clean project.zip

on subsequent run.zip

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions