[ 
https://issues.apache.org/jira/browse/NETBEANS-2527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16840737#comment-16840737
 ] 

Laszlo Kishalmi commented on NETBEANS-2527:
-------------------------------------------

I was able to debug the issue with your project. Yet unfortunately I do not 
know what's going on. I've checked that the events on the failed testcases are 
flowing in and update the internal NetBeans structures, though the test output 
window does not follow any of the updates.

On the second one please file another issue as an improvement. It is a known 
thing. Since Gradle does not provide test System out information during the 
runs we must read it from the test result xml file. So that is a completely 
separated one.

> Junit test results when run via gradle are incomplete.
> ------------------------------------------------------
>
>                 Key: NETBEANS-2527
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2527
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Gradle
>    Affects Versions: 11.0
>         Environment: Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9
> Runtime: OpenJDK Runtime Environment 11.0.2+9
> System: Mac OS X version 10.14.4 running on x86_64; UTF-8; en_US (nb)
> Product Version: Apache NetBeans IDE 11.0 (Build 
> incubator-netbeans-release-404-on-20190319)
> Java: 11.0.1; OpenJDK 64-Bit Server VM 11.0.1+13
> Runtime: OpenJDK Runtime Environment 11.0.1+13
> System: Linux version 4.4.172 running on amd64; UTF-8; en_US (nb)
>            Reporter: Mark Flacy
>            Assignee: Laszlo Kishalmi
>            Priority: Major
>         Attachments: Gradle_false_positive.png, Maven_true_failures.png
>
>
>  There are two major issues:
>  # When running the test task, the Gradle Test Run window shows ONLY ONE test 
> file result. All other test results are invisible.
>  # When running any test, standard output is not shown in the panel to the 
> right of the test file result.
>   
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to