Closed SergioPicarra2 closed 2 years ago
I suspect that what you are encountering is
https://github.com/FortuneN/FineCodeCoverage#old-style-coverage
Dlls are copied to a sub folder of project output folder which may affect your tests. The alternative is to set the option AdjacentBuildOutput to true
The tests that are passing in test explorer are actually failing when run by FCC. Please check the FCC Output Window pane for messages.
The other solution is to switch to ms code coverage which does not do any dll copying, although async methods are not properly covered until the next release.
Hi @tonyhallett , thanks for your quick reply. Indeed you are right, setting the AdjacentBuildOutput to true solved the issue. I didn't notice this. Thank you very much!
Installed product versions
Description
Coverage does not seem to be correctly calculated when there is an IO operation taking place. It is correct up to the line of the IO operation and afterwards lines are marked as not covered
Steps to recreate
Current behavior
Lines are being marked as not covered even though they are covered
Expected behavior
Lines should be marked as covered