MoreUnit / org.moreunit.intellij.plugin

MoreUnit IntelliJ Plugin
33 stars 8 forks source link

[feature request] Generate resource file under same package path/and able to jump to the resource directory #13

Open jiming opened 6 years ago

jiming commented 6 years ago

Some time I need load resource file in unit test. In that case I need put the resource file under resources directory.

Then I can use this.getClass().getResourceAsStream("./config.yaml") to load the resource very convenient.

So could you please add a feature that genereate corresponding test resource directory and jump to and back?

for example to a unit test. src\test\java\xxx\yyy\zzzTest.java

create a corresponding directory src\test\resources\xxx\yyy\

Thanks!