Bug Report T567211
Visible to All Users

Test Runner - Incorrect output for NUnit tests with parallelization

created 7 years ago

Greetings.

The attached demo demonstrates a problem I've seen when running nUnit tests with parallelization.

In the demo, there are 4 test fixtures, each with a few tests, each of which calls Console.WriteLine() in addition to an Assert call.

In the Test Runner results, rather than each test node containing one Console Out message, some contain none and some contain multiple, or simply the wrong Console Out message. I'll add a comment to include a screenshot.

Comments (2)

    As you can see, the selected test method node has 4 console out messages associated, but they're from the wrong test fixtures/methods. We should see only one console out message here.

    AE AE
    Alex Eg (DevExpress) 7 years ago

      Hi Robert,
      Thank you for the detailed explanation and the code sample.I have reproduced the issue and our team is researching it. Thank you for your patience.

      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.

        Comments (2)
        CB CB
        Chriss Barnard 1 7 years ago

          Any news on this update? Several of us are having a similar issue and I'd like to test with this new version before we raise a similar bug.

          DevExpress Support Team 7 years ago

            Hello Chriss,
            We have just published a hotfix. Please try it.
            Let us know if you need any further assistance.

            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.