[DevExpress Support Team: CLONED FROM T485899: Unit test are not run properly using VS17 RC]
Although the code coverage tool yielded no results when running all with code coverage. I suppose that is a separate problem though.
TestRunner - Code Coverage - No coverage results in a .net core project with xUnit tests
Answers approved by DevExpress Support
Hello Seth,
In the latest 17.1.8 release of CodeRush for Roslyn, we have implemented support for the portable pdb format.
Please download the latest build and see how it works.
We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.
Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.
- v16.2.7Download Official Update
Hi Seth,
I have reproduced the issue. Once we find an appropriate solution, we will notify you.
Hello Seth,
We have researched the issue and found the causes.
First, CRR 16.2.6 could not calculate code coverage for .net core projects.
Second, your project uses portable pdb - the new pdb format, which we do not support yet.
We fixed the first issue. Now, if you set 'full' as the pdb format - you can run the tests with collecting code coverage on your projects.
I have attached a screencast that illustrates how to do this.
Use the following link to download and install the build containing the fix: CodeRush.Roslyn-16.2.6.17069.vsix
After trying it please inform us of your results.
As for the second issue - support for portable pdb format in our product backlog, we will do it in future versions.