How do I mark all groovy folders as test roots?
Answered
My folders structure looks like this:
src
--main
--test
----groovy
----java
----resources
Idea do NOT mark groovy folders as test roots automatically after importing the project, so I cannot look through groovy test classes. I can mark up all groovy folders manually, but I have so many modules in my project that I want to avoid this activity.
A question is: how can I setup Idea to mark groovy test folders as test roots automatically?
Please sign in to leave a comment.
Is that a Maven project? What do you import it from?
Right Click on the groovy folder , you will find "Mark Directory As", select "Test Sources Root".
Serge, its maven project.
Sudheer, I am aware of this way, but I have so many modules that I want to make it automatic.
It's a known issue, please vote for https://youtrack.jetbrains.com/issue/IDEA-119931 .