I want to have two application.properties files:
1. src/main/resources/application.properties
2. src/test/resources/application.properties
but I want that during test run it will use both files.
for instance:
In src/main/resources/application.properties:
a=b
c=d
In src/test/resources/application.properties:
e=f
and during test run I will be able use all the properties I listed from both files.
@Value("${a}")
private String a;
@Value("${c}")
private String c;
@Value("${e}")
private String e;
Is it possible?
If not - what is the best practice to do what I want?
Thanks.