Bug Report T631502
Visible to All Users

Unit Test Runner hangs when running all tests in a solution

created 7 years ago

To reproduce the issue:

  1. Open the attached solution.
  2. Restore the Nuget packages for UnitTestProject1.
  3. Right-click on the solution, and choose Run Tests.

The Test Runner will run the test in UnitTestProject1, but then won't end.

This has something to do with ClassLibrary1 being there. ClassLibrary1 references the MSTest.TestFramework NuGet package, but does not have any unit tests, and is not a unit test project.

In case this makes a difference, I am running the 15.5.2 version of VS 2017.

Show previous comments (3)
DevExpress Support Team 7 years ago

    Hello Joe,
    Thank you for providing us with the steps to reproduce the issue. This information has helped us to reproduce the problem.
    To make sure that we reproduced the same problem, may I ask you to check if the steps illustrated in attached video also lead to a problem on your side?
    At the same time, we will examine why our TestRunner hangs in the situation we reproduced and will keep you posted of our results.

      I am able to reproduce the issue by following the steps shown in the video. However, the only difference I saw between the video steps and my steps were that the UnitTest1 class name was selected before clicking "Run Tests" the first time, and then the Test Runner output text was selected before running clicking "Run Tests" the second time. Is that what you wanted me to do? Or did I miss some other steps?

      DevExpress Support Team 7 years ago

        Hi Joe,

        Thank you for informing us of your results. We selected code and output text just for demonstration purposes, not like steps to reproduce. So, your results confirmed that we reproduced the same problem. We are working on it and will inform you of our progress.

        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.