thymeleaf-testing icon indicating copy to clipboard operation
thymeleaf-testing copied to clipboard

Add support for java-based configuration at SpringWebProcessingContextBuilder

Open danielfernandez opened this issue 7 years ago • 1 comments

Currently, SpringWebProcessingContextBuilder only allows configuring beans by means of setting the location of an XML file.

But XML configuration is now on its way to deprecation so we should allow the configuration of Spring's ApplicationContext by directly specifying beans or, ideally, @Configuration classes.

danielfernandez avatar Nov 04 '17 22:11 danielfernandez

@danielfernandez Is it still the case that this library won't recognize @Configuration classes?

I'd like to start using it with @WebMvcTest spring boot annotation, but I'm struggling to get it up and running.

pmihalcin avatar Feb 26 '19 10:02 pmihalcin