Feature request - Spring Java config for SpringWebProcessingContextBuilder

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Feature request - Spring Java config for SpringWebProcessingContextBuilder

Lt. Templeton Peck
Hi

For Thymeleaf testing SpringWebProcessingContextBuilder.setApplicationContextConfigLocation() only accepts spring xml config.

Can this be overloaded to also take spring Java config classes?
Reply | Threaded
Open this post in threaded view
|

Re: Feature request - Spring Java config for SpringWebProcessingContextBuilder

danielfernandez
Administrator
That definitely makes sense as an improvement to the thymeleaf-testing library, and it should be possible to do by using an AnnotationConfigApplicationContext instance . Would you be so kind to add a ticket to https://github.com/thymeleaf/thymeleaf-testing/issues for future reference?