How to default the source folder for new JUnit tests in Eclipse?

后端 未结 3 518
伪装坚强ぢ
伪装坚强ぢ 2020-12-25 10:52

Most of our Eclipse projects have multiple source folders, for example:

  • src/main/java
  • src/test/java

When you right-click on a class and

3条回答
  •  时光取名叫无心
    2020-12-25 11:09

    No.

    Unless you change the plugin code, the default source folder is always the same as that containing the class you right clicked on (not necessarily the first source folder listed). I agree, it would be nice to be able to change it!

提交回复
热议问题