I can see that the JsonTestersAutoConfiguration got split as part of the modularisation into:
While JsonTestersAutoConfiguration was located in the test module, the new config classes are included in the production modules: spring-boot-gson, spring-boot-jackson, spring-boot-jsonb.
I was expecting them to be in dedicated spring-boot-gson-test, spring-boot-jackson-test, spring-boot-jsonb-test modules.
But maybe it's ok? If it is, I'm sorry for raising this issue.
Thanks for all the effort you put into the modularization of Spring Boot, it's such an impressive undertaking and so beneficial. Thank you!
Comment From: philwebb
We actually made an intentional compromise here so that users don't need to remember to include the -test module. We found it was pretty easy to include something like webmvc-test but forget to include gson-test. We decided the minimal increase in jar size was worth it, especially as the classes are package-private.
Comment From: ThomasVitale
That makes sense, thank you!