Skip to content

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

@jiming

Description

@jiming

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions