Bug Report T597936
Visible to All Users

Unit Testing - Code Coverage hang when using CodeRush 17.2.5

created 7 years ago

I'm trying to run coverage tests on a C# solution (https://github.com/TurnerSoftware/MongoFramework) however the test runner hangs with the only output message being "Test started…"

I've tried running just a single test with code coverage from the context menu however the same result, it seemingly hangs (> 60 seconds).

The "Run test" options work fine, the tests complete with a few seconds.

From my testing of this issue, it seems to only be present in 17.2.5 as I just downgraded to 17.2.4 and the code coverage ran fine (21s first run, ~3.5s in subsequent runs).

One thing I did notice between 17.2.5 and 17.2.4 is that in the older one, there is a loading indicator at the bottom of the code coverage window telling me it is working whereas 17.2.5 doesn't even display that (which might help you narrow down the problem or I've just noticed a minor UI change).

I've tried trying to do a clean re-install of CodeRush to see if that was related however there was no change.

On the first run of 17.2.5 code coverage, it did come up with a UAC prompt for two DevExpress DLLs (profiler something, 32bit and 64bit versions) which I allowed - mentioning this in case that's important.

Comments (1)
AE AE
Alex Eg (DevExpress) 7 years ago

    Hi James,
    Thank you for the detailed explanation of the issue. I have reproduced the issue with the latest CodeRush version. Please give us some time to research it.

    Answers approved by DevExpress Support

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