What is the proper project layout when using module-info.java and JUnit? I still can create test directory in my module, mark it as "Test sources", and run tests from there. But the code is all highlighted with errors like "Symbol is declared in module 'org.junit.jupiter.api' which current module does not depend on" which is very annoying. Obviously I do not want to add junit dependency in the production module-info.java (even when trying to do so, you also need to specify dependency scope "Compile" instead of "Test" for JUnit library in the module dependencies, which is also not good). Is there any way to make it working nice like with pre-Java9 non-modular projects?