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
2 months agoBettina
2 months agoAlayna
2 months agoCeola
3 months agoChu
3 months agoCarman
3 months agoEthan
3 months agoAlex
4 months agoMarg
4 months agoLayla
4 months agoReyes
4 months agoCarlee
4 months agoYvonne
5 months agoCecil
5 months agoLemuel
10 months agoWei
9 months agoHyun
9 months agoRoselle
10 months agoVictor
10 months agoDevora
10 months agoChanel
10 months agoTresa
11 months agoWillis
9 months agoMarkus
9 months agoChantell
9 months agoTamar
9 months agoKaron
9 months agoAnnelle
9 months agoLavelle
9 months agoEleni
9 months agoTony
11 months agoGracia
11 months agoTequila
11 months ago