If I run a normal unit test, the values in src/test/resources/application.yaml will override the values in src/main/resources/applicatiion.yaml.
If I run a test from itTest, the values in src/main/resources/application.yaml will override the values in src/itTest/resources/applicatiion.yaml. If the value only exists in itTest, then they can be read fine. So, the itTest resources file can be read, but the order is wrong. So, I can't override any values.
I have this directory structure:
If I run a normal unit test, the values in
src/test/resources/application.yaml
will override the values insrc/main/resources/applicatiion.yaml
.If I run a test from itTest, the values in
src/main/resources/application.yaml
will override the values insrc/itTest/resources/applicatiion.yaml
. If the value only exists in itTest, then they can be read fine. So, the itTest resources file can be read, but the order is wrong. So, I can't override any values.Is there something I am missing? Thanks.
I am using 4.0.0 of the plugin.