Skip to content

Rename WebDriverContextCustomizerFactory's customizer  #36416

Closed
@sbrannen

Description

@sbrannen

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions