dotCover in rider not finding test coverage properly.

Answered

For some reason, the dotCover plugin seems to think I have not covered ANY of my classes' methods - when I most definitely have. Please see attached.

 

Not sure if I'm doing something wrong or if this is just a bug, but thought I'd report it in.

0
5 comments

Hi!

Which Rider version are you using?

AFAIU, you are using Continuous testing, are you? Will the coverage appear if you start it manually in this session? 

If not, try switching into Debug mode and then running coverage analysis - will the problem persist?

0
Avatar
Permanently deleted user

Hi! I'm currently using Rider 2019.2.1 - switching to debug mode doesn't help. I am using continuous testing, however running manually in debug mode doesn't help either.

0

Hi!

Thank you for the update.
Could you please collect dotCover log files?
Please take the following steps:

  1. Run Rider in internal mode: https://rider-support.jetbrains.com/hc/en-us/articles/207327910-How-to-run-JetBrains-Rider-in-Internal-Mode
  2. Go to File | Settings | Build, Execution, Deployment | dotCover and enable external storage logs
  3. Restart Rider
  4. Go to Help | Trace Scenarios and enable DotCover and DotCoverExternalProcess items
  5. Reproduce the issue
  6. Open the log folder (Help -> Show log in Explorer), collect DotCoverWorkspaceHost folder and send it to us
  7. Make sure to disable logs

If the logs would exceed the maximum allowed attach limit (20Mb), you could upload it to our FTP https://uploads.services.jetbrains.com/ or share it via any cloud services like Dropbox.

0
Avatar
Permanently deleted user

Hi, did you solve the problem? I'm facing the same right now using rider 2019.2.2 (and other latest products). *pdb-files are in place (same as the dll) and not obfuscated. I want to test a dll library (.netstandard2.0) through a seperate test-project (.net 4.7) with NUnit3. Thanks in adavnce

0

Hello,

I am very sorry to hear you have faced such an issue. As mentioned above, could you please collect the information required for the investigation and send it to us. I believe the best way to send the information would be to create a new issue on YT and attach logs to it. Thank you in advance!

0

Please sign in to leave a comment.