You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2021/02/18 17:57:16 UTC

[GitHub] [netbeans] sormuras edited a comment on pull request #2598: [NETBEANS-4550] Handling tests that have a module-info overriding module-info from sources.

sormuras edited a comment on pull request #2598:
URL: https://github.com/apache/netbeans/pull/2598#issuecomment-781526671


   Back on topic.
   
   Project under test: https://github.com/sormuras/testing-in-the-modular-world/
   Created `src/test/java/module-info.java` with the following content:
   
   ```java
   open /*test*/ module foo {
     exports foo;
     requires org.junit.jupiter.api;
   }
   ```
   ... which is what I invented [module-info.test](https://github.com/sormuras/testing-in-the-modular-world/blob/master/src/test/resources/module-info.test) for, back in the days.
   
   And... it looks good to me.
   
   ![image](https://user-images.githubusercontent.com/2319838/108399344-4bb80780-721a-11eb-8595-9e38b1db098f.png)
   
   Caveat: I'm not sure why Maven/NB says "1 tests skipped." Didn't look into the project for years...


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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