Description
Due to changes in Spring Framework 6.0 (see spring-projects/spring-framework#29229), ContextCustomizer
implementations are logged at DEBUG
level using only their simple name.
Consequently, we see log statements such as the following.
DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using ContextCustomizers for test class [MySpringTests]: [ExcludeFilterContextCustomizer, DuplicateJsonObjectContextCustomizer, MockitoContextCustomizer, TestRestTemplateContextCustomizer, WebTestClientContextCustomizer, DisableObservabilityContextCustomizer, PropertyMappingContextCustomizer, Customizer]
The last Customizer entry is for org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory.Customizer
.
To improve diagnostics, I suggest that the Customizer
class be renamed to WebDriverScopeContextCustomizer
or WebDriverContextCustomizer
.