I try to run tests from Intellij. Methods I test uses some properties files fr开发者_高级运维om src/main/resources but seems like they are ignored when I run it as JUnit test. It works when I run it from eclipse and ant but not from Intellij. How can I make my src/main/resources visible for tests in Intellij? Dont know if it matters but test and main folders are treated like separated modules in my project view.
Verify that src/main/resources is set as Sources or as Test Sources in the project structure. Resources from such folders are copied to the output path (classpath) automatically according to Settings | Compiler | Resource Patterns.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论