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

Junit test results when run via gradle are incomplete.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 11.0
    • Next
    • projects - Gradle

    Description

       When running the test task, the Gradle Test Run window shows ONLY ONE test file result. All other test results are invisible.

      I have a simple project at github that shows the behavior.

      https://github.com/Richard-Cranium/NB11GradleJunitExample

      The head of the master branch is the gradle based project that shows the misleading behavior.
      The head of the maven-version branch has the same source files, but configured to use maven instead.

      The maven project's behavior when Run -> Test Project is selected is what I would expect from the gradle project's behavior when Run -> Test Project is selected against it.  See the attached images.

      Attachments

        1. Maven_true_failures.png
          27 kB
          Mark Flacy
        2. Gradle_false_positive.png
          16 kB
          Mark Flacy

        Issue Links

          Activity

            People

              lkishalmi Laszlo Kishalmi
              richardcranium Mark Flacy
              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 - 20m
                  20m