Simplify TestRuntimeHintsRegistrar API #29264
Labels
in: test
Issues in the test module
theme: aot
An issue related to Ahead-of-time processing
type: enhancement
A general enhancement
Milestone
The
TestRuntimeHintsRegistrar
currently combines processing ofMergedContextConfiguration
and test classes. However, it appears that onlyspring-test
internals have a need for registering hints based on theMergedContextConfiguration
. For example, Spring Boot's AOT testing support has not had such a need.In light of that, we should simplify the
TestRuntimeHintsRegistrar
API so that it only focuses on test classes, and we should move the hint registration code specific toMergedContextConfiguration
to an internal mechanism.The text was updated successfully, but these errors were encountered: