Skip to content

Simplify TestRuntimeHintsRegistrar API #29264

Closed
@sbrannen

Description

@sbrannen

The TestRuntimeHintsRegistrar currently combines processing of MergedContextConfiguration and test classes. However, it appears that only spring-test internals have a need for registering hints based on the MergedContextConfiguration. 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 to MergedContextConfiguration to an internal mechanism.

Metadata

Metadata

Assignees

Labels

in: testIssues in the test moduletheme: aotAn issue related to Ahead-of-time processingtype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions