0

I have some properties defined in multiple application.yml files in different modules under different paths, just want to write a unit test to make sure the values are loaded and values are correct.

What is the minimal unit test annotation should be used? Definitely don't want to load the whole Spring application using @SpringBootTest. But not sure which slice just load application files. Thank you.

user1589188
  • 5,316
  • 17
  • 67
  • 130

0 Answers0