Bug Report T527573
Visible to All Users

Unit Testing - TestRunner does not support the "Theory" attribute in NUnit

created 8 years ago

NUnit Theory tests do not appear to be recognised by CodeRush.

If the only test in a Test Fixture is a Theory then Run Tests is not enabled and no Test icon is shown next to the method.

If other tests are added, then it is possible to run the test by right-clicking within the method. However, the Test icon still does not appear next to the theory test method.

See the attached video for a demonstration of the behaviour.

I am using NUnit 3.7.1.

Comments (1)
DevExpress Support Team 8 years ago

    Hi Dave,

    Thank you for pointing out this issue and providing the screencast.
    I have reproduced this issue, so we will fix it in future releases and notify you as soon as we have results.

    Answers approved by DevExpress Support

    created 8 years ago (modified 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)

        Works correctly now - thanks

        DevExpress Support Team 8 years ago

          You are welcome.

          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.