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

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

How would this be done without NetBeans, i.e., NetBeans is a tool on top of 
Java, JPMS, Junit, etc. I.e., is it that NetBeans wants JUnit to be declared in 
module-info or is it that JPMS wants that?

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