Introduce AotTestExecutionListener API in the TestContext framework #29070
Labels
in: test
Issues in the test module
theme: aot
An issue related to Ahead-of-time processing
type: enhancement
A general enhancement
Milestone
Overview
The newly introduced
TestRuntimeHintsRegistrar
API allows one to register hints specific to a given test class; however, there are scenarios in which the logic involved in determining what might need run-time hints resides in aTestExecutionListener
.For example, the
SqlScriptsTestExecutionListener
contains private logic for determining default SQL scripts, and that logic should not be duplicated outside theSqlScriptsTestExecutionListener
.In light of that, we should introduce an
AotTestExecutionListener
API that extendsTestExecutionListener
and allows aTestExecutionListener
to opt in for AOT processing support, analogous to what theAotContextLoader
API does for aSmartContextLoader
.Related Issues
The text was updated successfully, but these errors were encountered: