-
Notifications
You must be signed in to change notification settings - Fork 229
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
Code coverage report is not generated for some methods #3191
Comments
maybe linked to https://community.sonarsource.com/t/adding-another-test-run-halves-the-code-coverage/15087/16 , there are some reproducers there as well |
From what we've discussed, we should:
unless we realize there's a parsing error on our side |
A possible cause is how
Note that the method name is |
I tried Tim's repro but it does not work for me. @costin-zaharia-sonarsource do you have maybe any advice which direction I can go here? |
I think this might depend on the versions of the dotnet runtime and of the coverage tool. How about Pavel's example? Is the issue still reproducible when analyzing out code? |
I cannot reproduce this. |
Description
VSTest.console.exe does not include covered methods into report file. Not even as 0% covered. Theese methods are not seen by SC as covered and QG fails.
Methods
Other
OtherFileName.SplitCamelCaseTxWords
reproduces the issue.VSTest.console /EnableCodeCoverage
The text was updated successfully, but these errors were encountered: