-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
System.Private.Xml tests are too particular about the installed .NET Core version and Unable to generate code coverage report with coverlet #34152
Comments
@ViktorHofer Pursuant to @danmosemsft 's reply to my above mention of this issue referring me to the instructions at:https://github.com/dotnet/runtime/blob/master/docs/workflow/building/libraries/code-coverage.md These instructions cover the case of generating a report on the entire repo, or a single project. I was able to follow the instructions for this single project:
This worked. However, the output was generated in
rather than the "aforementioned", which was:
No great problem with that - the output of the process clearly indicated the correct location. However, my main problem is that I'm trying to generate a coverage report based upon all the test projects in one solution:
and this is where I ran into difficulty. Is there a way to do this? |
Mind offering a PR to fix the doc :) |
@danmosemsft |
With respect to the pickiness -- we are building the shared framework here and the tests need to run on the version we built. It's in the output under artifacts/bin/testhost and has version 5.0.0. @ViktorHofer can you have a look and see what we need to do to fix coverage? |
@mrj001 a few observations:
With #945 |
@ericstj, @ViktorHofer |
I'm using:
I'm building using the git bash command prompt, as follows:
This resulted in numerous errors like this:
To address the excessive pickiness of the framework version, I did this:
The tests now run, but there is no output indicating that a coverage report is being generated.
No file was found.
Neither does there appear to be a file for the opencover format in the runtime folder.
Sorry, but I've really got two issues in one here:
The text was updated successfully, but these errors were encountered: