Bug Report T463369
Visible to All Users

Test Runner - It is impossible to debug tests using VS2015 Community Update3 and XUnit 2.1

created 8 years ago

[DevExpress Support Team: CLONED FROM T462705: Unable to debug tests using CodeRush for Roslyn 16.2.3]
Same here with VS2015 Community/Update3 and XUnit 2.1.

I cannot debug and execute " Theory" based tests while clicking on the test symbol of the test method.
If i use the test symbol on the whole class, it's possible to run all tests including "Theory" based tests.

Comments (3)
DevExpress Support Team 8 years ago

    Hi Silvio,
    I have reproduced the issue. Also, I have noticed that it appears only if I try to start debugging the test from the test icon. If I run debugging from the Test Runner window, or from the test class Icon all works properly (see the attached screencast). Please use these ways as temporary workaround. Once we fix it, we will update this thread.

      Hi!

      I have applied the hotfix 16.2.3.16356, and everything is fine now.
      I can run all test.

      DevExpress Support Team 8 years ago

        Silvio,
        Thank you for letting us know. If you have any further questions feel free to contact us.

        Answers approved by DevExpress Support

        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.

          Comments (2)
          KH KH
          Kyle Hatcher 1 8 years ago

            This is still partially broken in v16.2.3.16356

            Close the solution with the tests.
            Open the solution.
            Build.
            Go to the Test Runner screen.
            All tests should show the blue "without state" icon.
            Right click the specific parameterized test and choose run.
            The first time, this will fail with the error message posted by https://www.devexpress.com/Support/Center/Question/Details/T463747
            Right click, Run again, now it works.

            Additionally; the Hotfix link you posted shows v16.2.4, but the version it actually downloads is 16.2.3

            DevExpress Support Team 8 years ago

              Hi Kyle,

              I have tried to reproduce the issue using steps you described in my test project and XUnit 2.1, but didn't manage. All works properly on my side (see the attached screencast). Perhaps the issue is related to specific conditions on your side. To process this issue in the most efficient way, I've created a separate ticket on your behalf:
              Right click the specific parameterized test and choose run will fail with the error message
              It has been placed in our processing queue and will be answered shortly.

              As for the HotFix link and version, it all is correct. The issue is fixed in version 16.2.4, which will be our next official update. To ensure that you aren't waiting for the official update, we have provided the interim build 16.2.3.16356 containing all the changes that were made after the release of 16.2.3 including the bug fix.

              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.