You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 23, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 23, 2023. It is now read-only.
Add AOT processing for ApplicationContexts used in tests #911
I've started to investigate this, using MergedContextConfiguration that's quite easy to call at build time using a source test class. This can also be used to figure out if the configuration of this test class matches another one. I have a prototype that generates the code but I haven't really tried to hook the test engine to it yet.
changed the title [-]Add AOT processing ApplicationContexts ussed in tests[/-][+]Add AOT processing for ApplicationContexts used in tests[/+]on Oct 4, 2021
This turned out to be quite significant but we have things working on the AOT/JVM side of things with additional issues to cover what doesn't work yet on native.
Activity
sdeleuze commentedon Jul 20, 2021
It probably makes sense to wait for #912 to be fixed to work on this one.
[-]Support testing with ContextBootstrap generation[/-][+]Add AOT processing ApplicationContexts ussed in tests[/+]snicoll commentedon Oct 4, 2021
I've started to investigate this, using
MergedContextConfigurationthat's quite easy to call at build time using a source test class. This can also be used to figure out if the configuration of this test class matches another one. I have a prototype that generates the code but I haven't really tried to hook the test engine to it yet.[-]Add AOT processing ApplicationContexts ussed in tests[/-][+]Add AOT processing for ApplicationContexts used in tests[/+]snicoll commentedon Oct 20, 2021
This enhancement is quite significant so I've created a number of separate issues:
Adapt SpringApplication substitution for AOT tests
Avoid duplication for native properties and apply them for tests
Configure AOT test context during nativeTest phase
snicoll commentedon Nov 9, 2021
This turned out to be quite significant but we have things working on the AOT/JVM side of things with additional issues to cover what doesn't work yet on native.
Update SpringFactoriesLoader overrides for AOT tests
Update SpringFactoriesLoader.loadFactoryNames() overrides for AOT tests