I just found out that Spring has a debugging mode that gives an idea of automatic configuration. You can enable it for the server by passing --debug as the application parameter.
Is there a way to enable debug mode also for tests (performed using SpringJUnit4ClassRunner )?
If the automatic configuration report works, it should print some output as follows:
========================= AUTO-CONFIGURATION REPORT ========================= Positive matches: ----------------- ConfigServiceBootstrapConfiguration
java spring spring-boot
Philipp Claßen
source share