I practiced a similar question, and I recall that @TestPropertySource loads properties from a specific location, but I can't remember if it's relative to the project root or not.
I've got a good strategy for this. I'll start by eliminating the options I'm sure are wrong, then focus on the remaining ones and try to reason through which one is the best answer based on my understanding of @TestPropertySource.
I'm a bit confused by the options here. I know @TestPropertySource is related to loading properties for tests, but I'm not sure how it interacts with other property sources like @PropertySource. I'll have to review my notes on this.
Okay, let me see. I remember that @TestPropertySource is used to load properties specifically for tests, so I think the answer is probably C - it loads a properties file relative to the project root by default.
Hmm, I'm a bit unsure about this. I know @TestPropertySource has something to do with loading properties for tests, but I'm not sure about the details. I'll have to think this through carefully.
Antonette
4 months agoBettina
4 months agoAlayna
4 months agoCeola
5 months agoChu
5 months agoCarman
5 months agoEthan
5 months agoAlex
5 months agoMarg
6 months agoLayla
6 months agoReyes
6 months agoCarlee
6 months agoYvonne
6 months agoCecil
7 months agoLemuel
12 months agoWei
11 months agoHyun
11 months agoRoselle
12 months agoVictor
12 months agoDevora
12 months agoChanel
1 year agoTresa
1 year agoWillis
10 months agoMarkus
10 months agoChantell
11 months agoTamar
11 months agoKaron
11 months agoAnnelle
11 months agoLavelle
11 months agoEleni
11 months agoTony
1 year agoGracia
1 year agoTequila
1 year ago