Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5863

"Test results" spuriously clears tests during run, and shows success despite failure

    XMLWordPrintableJSON

Details

    Description

      In NetBeans 12.4, test results displayed in the "Test results" pane will get randomly cleared while the tests are running. The final output thus ends up not including all tests that were run. See the attached series of screenshots. Sometimes the "Test results" pane will end up showing a green bar with "Tests passed: 100.00 %" even when there were test failures.

      My application's test suite is JUnit in a maven-based NetBeans module running maven-surefire-plugin version 3.0.0-M4. Using an older version of the surefire plugin (2.18.1, which I previously used to avoid NETBEANS-458 ) did not solve the problem.

      This problem occurs on NetBeans 12.4, but not on NetBeans 12.1. I verified this by running my application's test suite on both NetBeans versions, without changing surefire versions or anything else.

      Attachments

        1. Failure became success!.png
          67 kB
          Eirik Bakke
        2. Test results dropped.png
          156 kB
          Eirik Bakke

        Issue Links

          Activity

            People

              dbalek Dusan Balek
              ebakke Eirik Bakke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m