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
Failed to get coverage result: Unable to read beyond the end of the stream #718
Comments
No Are you sure to setup all correctly? https://github.com/tonerdo/coverlet/blob/master/Documentation/VSTestIntegration.md |
It's been working well on build agents so I think it maybe something with my local setup. I'll see if I can reproduce tomorrow. |
Be sure to update test sdk package to preview (for now) like in the sample on guide otherwise in process collector won't be loaded and you'll could hit that issue. That issue is randomic and depends on timing and machine load. |
any news? |
|
@pape77 I cannot find your workaround to use merge with current version of collector...can you paste the link here? |
@MarcoRossignoli it's in a closed pr |
Thank's, @prashanth-nani if you want to use merge with collector(that feat was hidden because is not so easy to use/understand at the moment) you can use Daniel trick! |
Thanks @MarcoRossignoli, I'll take a look at it. |
@prashanth-nani any news?Feel free to close if solved! |
Sorry for the delay. As this is a known issue, I'm gonna close this. Thanks a lot for pointing me to the right resources. 🙂 Edit: I'm not the author of this issue. So I cannot close it. |
Close for stale conversation and solved issue, feel free to reopen if needed! |
Hello, I wanted to reopen this issue as we are experiencing the same problem using the collectors. Our package version are the following:
We run the tests by running The error we receive is:
The test projects are being run one by one. This does not happen all the time, hence our coverage is inconsistent. |
Pls can you open a new issue with same infos? |
Please reopen. Getting the same error. Command: |
@agray you should try to use collector integration that is a known issue for msbuild integration https://github.com/coverlet-coverage/coverlet/blob/master/Documentation/KnownIssues.md#1-vstest-stops-process-execution-earlydotnet-test Please open new issue if issue persist also after collectors switch |
Despite following the recommendation of using the following command:
dotnet test --collect:"XPlat Code Coverage"
Because of this known issue https://github.com/tonerdo/coverlet/blob/master/Documentation/KnowIssues.md#1-vstest-stops-process-execution-earlydotnet-test
I still seem to be getting the same issue.
Is it expected that by using this method I should never get the
Unable to read beyond the end of the stream
error?The text was updated successfully, but these errors were encountered: