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

Geertjan Wielenga commented on NETBEANS-2802:
---------------------------------------------

Probably the question you'll be getting repeatedly in this issue is: how does 
JPMS work with JUnit? Only once you have the answer to that, we can see how 
that should work in NetBeans.

> Netbeans doesn't work correctly with integration tests when there is a 
> module-info
> ----------------------------------------------------------------------------------
>
>                 Key: NETBEANS-2802
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2802
>             Project: NetBeans
>          Issue Type: Bug
>            Reporter: Pavel_K
>            Priority: Major
>         Attachments: Screenshot from 2019-07-05 14-13-19.png, netbeansit.zip
>
>
> I use NB 11.0 and I work on JPMS module with integrations tests. My folder 
> structure is like
> this:
> {code:java}
> |-- pom.xml
>  `-- src
>     |-- it
>     |   `-- java
>     |       `-- com
>     |           `-- soebes
>     |               `-- maui
>     |                   `-- it
>     |                       `-- BitMaskIT.java
>     |-- main
>     |   `-- java
>     |       `-- com
>     |           `-- soebes
>     |               `-- maui
>     |                   `-- it
>     |                       `-- BitMask.java
>     `-- test
>         `-- java
>             `-- com
>                 `-- soebes
>                     `-- maui
>                         `-- it
>                             `-- BitMaskTest.java
> {code}
> The problem is NB wants JUnit modules for integrations tests to be declared 
> in module-info. Otherwise it shows errors. At the same time code all 
> execution tests are compiled and run without problems. Besides there are 
> problems with classes dependencies in integrations tests, for example, code 
> complete doesn't work at all.



--
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