# Package org.springframework.test.context.aot

@NonNullApi @NonNullFields package org.springframework.test.context.aot
Ahead-of-time (AOT) support for the Spring TestContext Framework.

Related Packages
Package
Description
org.springframework.test.context
This package contains the Spring TestContext Framework which provides annotation-driven unit and integration testing support that is agnostic of the actual testing framework in use.
Class
Description
AotContextLoader
Strategy 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.
AotTestAttributes
Holder for metadata specific to ahead-of-time (AOT) support in the Spring TestContext Framework.
AotTestContextInitializers
`AotTestContextInitializers` provides mappings from test classes to AOT-optimized context initializers.
AotTestExecutionListener
`AotTestExecutionListener` is an extension of the `TestExecutionListener` SPI that allows a listener to optionally provide ahead-of-time (AOT) support.
DisabledInAotMode
`@DisabledInAotMode` signals that the annotated test class is disabled in Spring AOT (ahead-of-time) mode, which means that the `ApplicationContext` for the test class will not be processed for AOT optimizations at build time.
TestAotProcessor
Filesystem-based ahead-of-time (AOT) processing base implementation that scans the provided classpath roots for Spring integration test classes and then generates AOT artifacts for those test classes in the configured output directories.
TestContextAotException
Thrown if an error occurs during AOT build-time processing or AOT run-time execution in the Spring TestContext Framework.
TestContextAotGenerator
`TestContextAotGenerator` generates AOT artifacts for integration tests that depend on support from the Spring TestContext Framework.
TestRuntimeHintsRegistrar
Contract for registering `RuntimeHints` for integration tests run with the Spring TestContext Framework based on the `ClassLoader` of the deployment unit.