This is a migrated thread and some comments may be shown as answers.

Test with coverage hangs (both DotCover and VS CodeCoverage)

1 Answer 485 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mats
Top achievements
Rank 1
Mats asked on 19 May 2019, 12:54 PM

I am trying out JustMock, so maybe I have made some beginners mistake. But I cannot get tests to run with coverage.

I am using: VS2019 16.0.4, Just Mock 2019.2.508.1 (in Trial mode), ReSharper / DotCover 2019.1.1. JustMock has been linked to both DotCover and VS2019 Code Coverage.

I normally run with the ReSharper test runner and use DotCover for coverage. That works OK for JustMock with the profiler disabled with or without coverage or with the profiler enabled but then only without code coverage.

DotCover "Cover all tests" hangs after the build with all unit tests shown as pending. VS GUI is responsive, about 5% CPU load, but nothing is happening.

I also tested the built in VS test runner and coverage measurement. Same picture test runs OK as long as you do not ask for coverage. Use "Analyze code coverage > All tests" in VS gives the same behavior as with the ReSharper / DotCover. 

Any suggestions?

/Mats

1 Answer, 1 is accepted

Sort by
0
Mihail
Telerik team
answered on 21 May 2019, 08:29 AM
Hello Mats,

I can confirm that there is a problem with the integration between JustMock and dotCover with the R2 2019 (2019.2.508.1) release. I have logged from your behalf a bug report into our feedback portal which you could follow for status updates.

I will schedule this item for our service pack expected next month.

In appreciation for your involvement I have updated your Telerik points.

Regarding the problem with VS Code Coverage, we are aware of this problem and it is already logged in our feedback portal. Here is a link if you would like to follow it and receive status updates: Code coverage not working with Visual Studio 2019. This issue is also scheduled for the upcoming service pack. 

Regards,
Mihail
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Mats
Top achievements
Rank 1
Answers by
Mihail
Telerik team
Share this question
or