Package org.springframework.test.context.aot
@NonNullApi
@NonNullFields
package org.springframework.test.context.aot
Ahead-of-time (AOT) support for the Spring TestContext Framework.
-
ClassDescriptionStrategy interface for loading an
ApplicationContext
for build-time AOT processing as well as run-time AOT execution for an integration test managed by the Spring TestContext Framework.Holder for metadata specific to ahead-of-time (AOT) support in the Spring TestContext Framework.AotTestContextInitializers
provides mappings from test classes to AOT-optimized context initializers.AotTestExecutionListener
is an extension of theTestExecutionListener
SPI that allows a listener to optionally provide ahead-of-time (AOT) support.Command-line application that scans the provided classpath roots for Spring integration test classes and then generates AOT artifacts for those test classes in the provided output directories.TestClassScanner
scans provided classpath roots for Spring integration test classes using the JUnit PlatformLauncher
API which allows all registeredTestEngines
to discover tests according to their own rules.Thrown if an error occurs during AOT build-time processing or AOT run-time execution in the Spring TestContext Framework.TestContextAotGenerator
generates AOT artifacts for integration tests that depend on support from the Spring TestContext Framework.Contract for registeringRuntimeHints
for integration tests run with the Spring TestContext Framework based on theClassLoader
of the deployment unit.