When running something from the src/test/java
folder, the default behavior is:
- It will pick up the files in
src/main/resources
; - Except when there is a file with the same name in
src/test/resources
.
So basically it will "overwrite" the content of src/main/resources
with the content of src/test/resources
:
- If you got a file in both folders, the one in
src/test/resources
will prevail. - If you got a file only in
src/main/resources
, it will be used. - If you got a file only in
src/test/resources
, it will be used.