Open claudemartin opened 6 years ago
It should work. Maybe I just have to add maven to the module path. I'll try this later. https://www.youtube.com/watch?v=uJNzMGrbXbI&t=42s
It's crazy how buggy this still is. Eclipse automatically moves Maven from the module path to the class path. But in the video (see above) they say you have to move it to the module path. Even if I do that and don't let Maven do it's thing it doesn't work at all. Eclipse can resolve the types, such as @Test, in the editor but the error "Test cannot be resolved to a type" remains.
The java10 branch has now a workaround. I keep this open and will only merge the branch back to master when this really works.
Regarding the branch "java10": If you add
requires org.junit.jupiter.api;
tomodules-info.java
you can compile and run the junit5-tests. But those are not part of the module "ch.claude_martin.enumbitset". There should be a second module (ch.claude_martin.enumbitset.test
or whatever) which requiresch.claude_martin.enumbitset
. But in Eclipse it seems impossible to have more than one module per project. Maybe this will work with Eclipse Photon.