BUG: (Completely) Missing Coverage
See original GitHub issueMaybe related: https://github.com/tonerdo/coverlet/issues/39
Behavior.
What I do
- Add coverlet.msbuild NuGet to my test project.
- Run Tor (needed for my tests to successfully complete.)
- Run
dotnet test /p:CollectCoverage=true
.
I also tried creating a new project and everything works fine, however with my current project (https://github.com/zkSNACKs/WalletWasabi/) it silently fails.
Issue Analytics
- State:
- Created 5 years ago
- Comments:27 (8 by maintainers)
Top Results From Across the Web
Jest finds tests but doesn't collect coverage
I think it's related to this issue '--coverage --watch' should calculate coverage for all files at first iteration and also this issue No ......
Read more >testing - Does path coverage guarantee finding all bugs?
This answer nails it. I would take the claim even further and say that due to this, path coverage never guarantees to find...
Read more >Coverage reports missing some covered code after ...
It looks like the missing coverage is the code that's run in a subprocess in the tests (it's running the application and collecting...
Read more >Bug Counts vs. Test Coverage
This article covers techniques for dealing with low bug counts, and methods for reassuring management that coverage is being achieved.
Read more >[Study] Code Coverage and Post Release Defects
Just because you have 85% coverage does not mean you have not missed a crucial scenario which absolutely should have a test.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nopara73, this works correctly now after adding
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
Thanks @n00j 👍Have you tried adding the following to your test.csproj?
I was running into problems with coverlet not being able to locate dll’s and seems to fix it.