Which statement about @TestPropertySource annotation is true? (Choose the best answer.)
Which statement about @TestPropertySource annotation is true? (Choose the best answer.)
Inlined properties defined in @TestPropertySource can be used to override properties defined in property files. This means that properties specified directly within the @TestPropertySource annotation will take precedence over those defined in external property files, allowing for easy customization of the test environment.
Answer is correct as specified in: https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/test/context/TestPropertySource.html