Bug Report T711432
Visible to All Users

Test Runner - Sorting by test category works only for the first attribute

created 6 years ago (modified 6 years ago)

Hi,

I have some problem with yours Test Runner. I have set some category name by attribute on UnitTest, but when this attribute is not on first place then it is not used to category sorting in yours Test runner.

example: I need to sort by both TestCategory: INTEGRATION_TEST and also SU. Now I can sort only by first attribute in this case INTEGRATION_TEST. In older version of CodeRush there was this supported.

C#
[TestMethod] [TestCategory(INTEGRATION_TEST)] [TestCategory("SU")] [Priority(5)] public void Terminal_impulse_process_Activity() {

Why did you change this?  I is possible to back to older behaviour ?

Thanks.

Comments (1)
DevExpress Support Team 6 years ago

    Hello,

    Thank you for pointing out this issue. I have reproduced it on my side.
    So, we will research it and let you know as soon as we have any results.

    Answers approved by DevExpress Support

    created 6 years ago (modified 6 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 (5)
      SU SU
      Svatopluk Ulicny 6 years ago

        Maybe I have some other problem… You can look at attachment…

        SU SU
        Svatopluk Ulicny 6 years ago

          So I have uninstalled all of CodeRush versions (and delete all of AppData from CodeRush) and insltall only last version… andproblem with category selection is solved… But there is still same problem with test category count… look at my screen video…

          DevExpress Support Team 6 years ago

            Hi Svatopluk,
            Thank you for sharing this with us.

            Since the original issue isn't reproducible, I have created a separate ticket on your behalf to process your inquiry more effectively: (Test Runner incorrectly calculates the count of tests which are grouped by multiple categories).
            It has been placed in our processing queue and will be answered shortly.

            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.