dotnet test --collect:"XPlat Code Coverage" hangs on "Starting test execution, please wait..." #1435
Unanswered
halimulkazi
asked this question in
Q&A
Replies: 2 comments
-
same issue for me, and testhost.exe is not killable for some reason, I have to reboot windows |
Beta Was this translation helpful? Give feedback.
0 replies
-
This issue began for us only after upgrading from net7.0 to net8.0. Our tests run and pass successfully in Visual Studio locally, but not in our ubuntu Azure Pipeline build. - task: DotNetCoreCLI@2
inputs:
command: 'test'
arguments: '-c $(buildConfiguration) --collect:"XPlat Code Coverage" --logger trx'
projects: '**/*Tests/*.csproj' It would get to here and hang indefinitely.
Removing --collect:"XPlat Code Coverage" solved this timeout problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to add coverage to the pipelines, but problem is that it hangs. I tried the donet test which works fine, I don't think the test is the problem as all of the tests hangs.
That's the csproj
Beta Was this translation helpful? Give feedback.
All reactions