thymeleaf / thymeleaf-testing

Thymeleaf testing infrastructure
Apache License 2.0
77 stars 26 forks source link

Add support for java-based configuration at SpringWebProcessingContextBuilder #14

Open danielfernandez opened 7 years ago

danielfernandez commented 7 years ago

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.

pmihalcin commented 5 years ago

@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.