-
Notifications
You must be signed in to change notification settings - Fork 389
0% branch coverage when code has no branches #261
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
Comments
this one I already fixed locally, pretty easily @tonerdo On your
I also made it print I had a lot to contribute, but I needed the #225 to be merged in for my pipelines (preferably without the options parameter, cuz it's something that should always happen). So I had to fork away |
Thank you! |
Hello Folks, It seems this commit(85fa0f3) re-introduced the branch coverage issue. Can we re-open this and fix it ? Thanks |
@samajs which version are you using? |
@MarcoRossignoli my bad, just realised I am using |
Hi,
Small issue I noticed while playing around with Coverlet is that for code with no branches, 0% branch coverage is reported instead of 100%.
ConsoleApp1.csproj
Program.cs
ConsoleApp1.Tests.csproj
UnitTest1.cs
Output
Thanks!
The text was updated successfully, but these errors were encountered: