Bug Report T488407
Visible to All Users

TestRunner - Code Coverage - No coverage results in a .net core project with xUnit tests

created 8 years ago

[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.

Comments (2)
DevExpress Support Team 8 years ago

    Hi Seth,

    I have reproduced the issue. Once we find an appropriate solution, we will notify you.

    DevExpress Support Team 8 years ago

      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.

      Answers approved by DevExpress Support

      created 7 years ago

      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.

        created 8 years ago

        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.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.