Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dotnet test won't work on clean project #4681

Open
nohwnd opened this issue Jan 16, 2025 · 1 comment
Open

dotnet test won't work on clean project #4681

nohwnd opened this issue Jan 16, 2025 · 1 comment
Labels
External: dotnet test `dotnet test` integration
Milestone

Comments

@nohwnd
Copy link
Member

nohwnd commented Jan 16, 2025

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

@nohwnd nohwnd added the External: dotnet test `dotnet test` integration label Jan 16, 2025
@nohwnd nohwnd added this to the .NET 10 milestone Jan 16, 2025
@nohwnd
Copy link
Member Author

nohwnd commented Jan 16, 2025

sdk is modded like this to work around issue with producing just single binlog of all projects.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
External: dotnet test `dotnet test` integration
Projects
None yet
Development

No branches or pull requests

1 participant