Bug Report T495365
Visible to All Users

TestRunner - xUnit tests are not run on a specific project with "No unit test provider that supports the selected project(s) is found" message

created 8 years ago

When attempting to run my xUnit 2.1 tests through the CodeRush TestRunner I get:

File D:\mc\Analytics-StreamAnalytics\src\StreamAnalytics\Tests\bin\Debug\net462\win7-x64\ not found on disk.
No unit test provider that supports the selected project(s) is found.

However, D:\mc\Analytics-StreamAnalytics\src\StreamAnalytics\Tests\bin\Debug\net462\win7-x64\ is on the disk, and it contains all the compilation products including

xunit.execution.desktop.dll
xunit.runner.reporters.net452.dll
xunit.runner.utility.net35.dll
xunit.runner.visualstudio.testadapter.dll
xunit.abstractions.dll
xunit.assert.dll
xunit.core.dll

In the test runner options the xunit settings refer to xunit files in my profile that are there.

Disabling CodeRush's test runner and using the test runner in Visual Studio 2017 Enterprise works fine.

How do I configure test to run correctly in the CodeRush test runner?

Comments (2)
DevExpress Support Team 8 years ago

    Thank you for pointing out this issue and providing the details. I have reproduced it in a sample project. We are working on this issue and will inform you on our progress once we have any results.

    PS PS
    Peter Shrosbree 8 years ago

      I don't see how to download the hotfix. Nor do I see the comment that I could download a hotfix that is in the email you sent me.

      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.

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

          Thomas, I guess this setting https://www.screencast.com/t/GRKK7IQ4b may cause the problem you described. Please try to change its value from portable to full. If It does not help, send us a sample project.

            Changing that setting worked for our class libraries. Thanks!

            However, it didn't make an immediate fix for our web api project. I will try adding a web app project to my sample solution to see if I can reproduce the issue.

            DevExpress Support Team 8 years ago

              Thomas, I am happy to hear that the advice was helpful. Would you please create a separate ticket and attach that problematic web api project to it?

              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.