Closed
Description
Overview
Now that we can process an application context for AOT optimizations, we'd like to extend that feature by providing support in other parts of the portfolio. One that we have experimented with in Spring Native is processing the application contexts that the TCF uses for a module so that they are "native-friendly".
In practice, this would mean introducing something like TestContextAotProcessor
that builds on top of ApplicationContextAotProcessor
, pre-processing the test infrastructure for each context identified amongst a set of test classes.
We'd need at least one additional context to provide a "prepared" GenericApplicationContext
for a MergedContextConfiguration
as each "bootstrapper" can have its own logic baked in.