In our Spring web applications, we use the Spring bean profiles to differentiate three scenarios: development, integration, and production. We use them to connect to differe
there are many faces to this problem. in my case, a simple addition to build.gradle already helped:
test { systemProperties = System.properties }