Spring jUnit Testing properties file
Firstly, application.properties in the @PropertySource should read application-test.properties if that’s what the file is named (matching these things up matters): @PropertySource(“classpath:application-test.properties”) That file should be under your /src/test/resources classpath (at the root). I don’t understand why you’d specify a dependency hard coded to a file called application-test.properties. Is that component only to be used in … Read more