Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
-
If filters from the application context should be registered with MockMVC.
- afterPropertiesSet() - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsMockMvcBuilderCustomizer
- afterTestMethod(TestContext) - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener
- afterTestMethod(TestContext) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener
- afterTestMethod(TestContext) - Method in class org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener
- AnnotationCustomizableTypeExcludeFilter - Class in org.springframework.boot.test.autoconfigure.filter
-
Abstract base class for a
TypeExcludeFilter
that can be customized using an annotation. - AnnotationCustomizableTypeExcludeFilter() - Constructor for class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- AnnotationCustomizableTypeExcludeFilter.FilterType - Enum Class in org.springframework.boot.test.autoconfigure.filter
- AnnotationsPropertySource - Class in org.springframework.boot.test.autoconfigure.properties
-
EnumerablePropertySource
to adapt annotations marked with@PropertyMapping
. - AnnotationsPropertySource(Class<?>) - Constructor for class org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- AnnotationsPropertySource(String, Class<?>) - Constructor for class org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- ANY - Enum constant in enum class org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase.Replace
-
Replace the DataSource bean whether it was auto-configured or manually defined.
- anyMatches(MetadataReader, MetadataReaderFactory) - Method in class org.springframework.boot.test.autoconfigure.filter.FilterAnnotations
- AUTO_CONFIGURED - Enum constant in enum class org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase.Replace
-
Only replace the DataSource if it was auto-configured.
- AutoConfigureCache - Annotation Interface in org.springframework.boot.test.autoconfigure.core
-
Annotation that can be applied to a test class to configure a test
CacheManager
if none has been defined yet. - AutoConfigureDataCassandra - Annotation Interface in org.springframework.boot.test.autoconfigure.data.cassandra
-
Auto-configuration imports
for typical Data Cassandra tests. - AutoConfigureDataCouchbase - Annotation Interface in org.springframework.boot.test.autoconfigure.data.couchbase
-
Auto-configuration imports
for typical Data Couchbase tests. - AutoConfigureDataElasticsearch - Annotation Interface in org.springframework.boot.test.autoconfigure.data.elasticsearch
-
Auto-configuration imports
for typical Data Elasticsearch tests. - AutoConfigureDataJdbc - Annotation Interface in org.springframework.boot.test.autoconfigure.data.jdbc
-
Auto-configuration imports
for typical Data JDBC tests. - AutoConfigureDataJpa - Annotation Interface in org.springframework.boot.test.autoconfigure.orm.jpa
-
Auto-configuration imports
for typical Data JPA tests. - AutoConfigureDataLdap - Annotation Interface in org.springframework.boot.test.autoconfigure.data.ldap
-
Auto-configuration imports
for typical Data LDAP tests. - AutoConfigureDataMongo - Annotation Interface in org.springframework.boot.test.autoconfigure.data.mongo
-
Auto-configuration imports
for typical Data MongoDB tests. - AutoConfigureDataNeo4j - Annotation Interface in org.springframework.boot.test.autoconfigure.data.neo4j
-
Auto-configuration imports
for typical Data Neo4j tests. - AutoConfigureDataR2dbc - Annotation Interface in org.springframework.boot.test.autoconfigure.data.r2dbc
-
Auto-configuration imports
for typical Data R2DBC tests. - AutoConfigureDataRedis - Annotation Interface in org.springframework.boot.test.autoconfigure.data.redis
-
Auto-configuration imports
for typical Data redis tests. - AutoConfigureGraphQl - Annotation Interface in org.springframework.boot.test.autoconfigure.graphql
-
Auto-configuration imports
for typical Spring GraphQL tests. - AutoConfigureGraphQlTester - Annotation Interface in org.springframework.boot.test.autoconfigure.graphql.tester
-
Annotation that can be applied to a test class to enable a
GraphQlTester
. - AutoConfigureHttpGraphQlTester - Annotation Interface in org.springframework.boot.test.autoconfigure.graphql.tester
-
Annotation that can be applied to a test class to enable a
HttpGraphQlTester
. - AutoConfigureJdbc - Annotation Interface in org.springframework.boot.test.autoconfigure.jdbc
-
Auto-configuration imports
for typical jdbc tests. - AutoConfigureJooq - Annotation Interface in org.springframework.boot.test.autoconfigure.jooq
-
Auto-configuration imports
for typical jOOQ tests. - AutoConfigureJson - Annotation Interface in org.springframework.boot.test.autoconfigure.json
-
Auto-configuration imports
for typical JSON tests. - AutoConfigureJsonTesters - Annotation Interface in org.springframework.boot.test.autoconfigure.json
-
Annotation that can be applied to a test class to enable and configure auto-configuration of JSON testers.
- AutoConfigureMetrics - Annotation Interface in org.springframework.boot.test.autoconfigure.actuate.metrics
-
Deprecated, for removal: This API element is subject to removal in a future version.
- AutoConfigureMockMvc - Annotation Interface in org.springframework.boot.test.autoconfigure.web.servlet
-
Annotation that can be applied to a test class to enable and configure auto-configuration of
MockMvc
. - AutoConfigureMockRestServiceServer - Annotation Interface in org.springframework.boot.test.autoconfigure.web.client
-
Annotation that can be applied to a test class to enable and configure auto-configuration of a single
MockRestServiceServer
. - AutoConfigureMockWebServiceClient - Annotation Interface in org.springframework.boot.test.autoconfigure.webservices.server
-
Annotation that can be applied to a test class to enable auto-configuration of
MockWebServiceClient
. - AutoConfigureMockWebServiceServer - Annotation Interface in org.springframework.boot.test.autoconfigure.webservices.client
-
Annotation that can be applied to a test class to enable and configure auto-configuration of a single
MockWebServiceServer
. - AutoConfigureObservability - Annotation Interface in org.springframework.boot.test.autoconfigure.actuate.observability
-
Annotation that can be applied to a test class to enable auto-configuration for observability.
- AutoConfigureRestDocs - Annotation Interface in org.springframework.boot.test.autoconfigure.restdocs
-
Annotation that can be applied to a test class to enable and configure auto-configuration of Spring REST Docs.
- AutoConfigureTestDatabase - Annotation Interface in org.springframework.boot.test.autoconfigure.jdbc
-
Annotation that can be applied to a test class to configure a test database to use instead of the application-defined or auto-configured
DataSource
. - AutoConfigureTestDatabase.Replace - Enum Class in org.springframework.boot.test.autoconfigure.jdbc
-
What the test database can replace.
- AutoConfigureTestEntityManager - Annotation Interface in org.springframework.boot.test.autoconfigure.orm.jpa
-
Annotation that can be applied to a test class to enable auto-configuration of a
TestEntityManager
. - AutoConfigureWebClient - Annotation Interface in org.springframework.boot.test.autoconfigure.web.client
-
Annotation that can be applied to a test class to enable and configure auto-configuration of web clients.
- AutoConfigureWebFlux - Annotation Interface in org.springframework.boot.test.autoconfigure.web.reactive
-
Auto-configuration imports
for typical Spring WebFlux tests. - AutoConfigureWebMvc - Annotation Interface in org.springframework.boot.test.autoconfigure.web.servlet
-
Auto-configuration imports
for typical Spring MVC tests. - AutoConfigureWebServiceClient - Annotation Interface in org.springframework.boot.test.autoconfigure.webservices.client
-
Annotation that can be applied to a test class to enable and configure auto-configuration of web service clients.
- AutoConfigureWebServiceServer - Annotation Interface in org.springframework.boot.test.autoconfigure.webservices.server
-
Annotation that can be applied to a test class to enable and configure auto-configuration of web service servers endpoints.
- AutoConfigureWebTestClient - Annotation Interface in org.springframework.boot.test.autoconfigure.web.reactive
-
Annotation that can be applied to a test class to enable a
WebTestClient
.
B
- basicJsonTesterFactoryBean() - Method in class org.springframework.boot.test.autoconfigure.json.JsonTestersAutoConfiguration
- beforeTestMethod(TestContext) - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener
- bootstrapMode() - Element in annotation interface org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest
-
The
BootstrapMode
for the test repository support.
C
- cacheProvider() - Element in annotation interface org.springframework.boot.test.autoconfigure.core.AutoConfigureCache
- clear() - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
-
Clear the persistence context, causing all managed entities to become detached.
- components() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.client.RestClientTest
-
Specifies the components to test.
- components() - Element in annotation interface org.springframework.boot.test.autoconfigure.webservices.client.WebServiceClientTest
-
Specifies the components to test.
- ConditionReportApplicationContextFailureProcessor - Class in org.springframework.boot.test.autoconfigure
-
An
ApplicationContextFailureProcessor
that prints theConditionEvaluationReport
when the context cannot be prepared. - ConditionReportApplicationContextFailureProcessor() - Constructor for class org.springframework.boot.test.autoconfigure.ConditionReportApplicationContextFailureProcessor
- connection() - Element in annotation interface org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase
-
The type of connection to be established when
replacing
the DataSource. - containsProperty(String) - Method in class org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- controllers() - Element in annotation interface org.springframework.boot.test.autoconfigure.graphql.GraphQlTest
-
Specifies the controllers to test.
- controllers() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTest
-
Specifies the controllers to test.
- controllers() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest
-
Specifies the controllers to test.
- customize(MockMvcRestDocumentationConfigurer) - Method in interface org.springframework.boot.test.autoconfigure.restdocs.RestDocsMockMvcConfigurationCustomizer
-
Customize the given
configurer
. - customize(RestAssuredRestDocumentationConfigurer) - Method in interface org.springframework.boot.test.autoconfigure.restdocs.RestDocsRestAssuredConfigurationCustomizer
-
Customize the given
configurer
. - customize(WebTestClientRestDocumentationConfigurer) - Method in interface org.springframework.boot.test.autoconfigure.restdocs.RestDocsWebTestClientConfigurationCustomizer
-
Customize the given
configurer
. - customize(WebTestClient.Builder) - Method in class org.springframework.boot.test.autoconfigure.web.reactive.SpringBootWebTestClientBuilderCustomizer
- customize(ConfigurableMockMvcBuilder<?>) - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsMockMvcBuilderCustomizer
- customize(ConfigurableMockMvcBuilder<?>) - Method in interface org.springframework.boot.test.autoconfigure.web.servlet.MockMvcBuilderCustomizer
-
Customize the given
builder
. - customize(ConfigurableMockMvcBuilder<?>) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
D
- DataCassandraTest - Annotation Interface in org.springframework.boot.test.autoconfigure.data.cassandra
-
Annotation that can be used for a Cassandra test that focuses only on Cassandra components.
- DataCouchbaseTest - Annotation Interface in org.springframework.boot.test.autoconfigure.data.couchbase
-
Annotation that can be used for a Data Couchbase test that focuses only on Data Couchbase components.
- DataElasticsearchTest - Annotation Interface in org.springframework.boot.test.autoconfigure.data.elasticsearch
-
Annotation that can be used for a Data Elasticsearch test that focuses only on Data Elasticsearch components.
- DataJdbcTest - Annotation Interface in org.springframework.boot.test.autoconfigure.data.jdbc
-
Annotation that can be used for a Data JDBC test that focuses only on Data JDBC components.
- DataJdbcTypeExcludeFilter - Class in org.springframework.boot.test.autoconfigure.data.jdbc
-
TypeExcludeFilter
for@DataJdbcTest
. - DataJpaTest - Annotation Interface in org.springframework.boot.test.autoconfigure.orm.jpa
-
Annotation for a JPA test that focuses only on JPA components.
- DataJpaTypeExcludeFilter - Class in org.springframework.boot.test.autoconfigure.orm.jpa
-
TypeExcludeFilter
for@DataJpaTest
. - DataLdapTest - Annotation Interface in org.springframework.boot.test.autoconfigure.data.ldap
-
Annotation that can be used for an LDAP test that focuses only on LDAP components.
- DataLdapTypeExcludeFilter - Class in org.springframework.boot.test.autoconfigure.data.ldap
-
TypeExcludeFilter
for@DataLdapTest
. - DataMongoTest - Annotation Interface in org.springframework.boot.test.autoconfigure.data.mongo
-
Annotation that can be used for a MongoDB test that focuses only on MongoDB components.
- DataMongoTypeExcludeFilter - Class in org.springframework.boot.test.autoconfigure.data.mongo
-
TypeExcludeFilter
for@DataMongoTest
. - DataNeo4jTest - Annotation Interface in org.springframework.boot.test.autoconfigure.data.neo4j
-
Annotation that can be used for a Neo4j test that focuses only on Neo4j components.
- DataNeo4jTypeExcludeFilter - Class in org.springframework.boot.test.autoconfigure.data.neo4j
-
TypeExcludeFilter
for@DataNeo4jTest
. - DataR2dbcTest - Annotation Interface in org.springframework.boot.test.autoconfigure.data.r2dbc
-
Annotation that can be used for a R2DBC test that focuses only on Data R2DBC components.
- DataRedisTest - Annotation Interface in org.springframework.boot.test.autoconfigure.data.redis
-
Annotation for a Data Redis test that focuses only on Redis components.
- DataRedisTypeExcludeFilter - Class in org.springframework.boot.test.autoconfigure.data.redis
-
TypeExcludeFilter
for@DataRedisTest
. - dataSource(Environment) - Method in class org.springframework.boot.test.autoconfigure.jdbc.TestDatabaseAutoConfiguration
- DEFAULT - Enum constant in enum class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrint
-
Use the default print setting (
MockMvcPrint.SYSTEM_OUT
unless explicitly overridden). - defaultInclude(MetadataReader, MetadataReaderFactory) - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- detach(Object) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
-
Remove the given entity from the persistence context, causing a managed entity to become detached.
- dispatcherServlet(MockMvc) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration
- dispatcherServletPath() - Method in class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration
E
- enabled() - Element in annotation interface org.springframework.boot.test.autoconfigure.json.AutoConfigureJsonTesters
-
If
BasicJsonTester
,JacksonTester
,JsonbTester
andGsonTester
beans should be registered. - enabled() - Element in annotation interface org.springframework.boot.test.autoconfigure.OverrideAutoConfiguration
-
The value of the
enabled override property
. - enabled() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.client.AutoConfigureMockRestServiceServer
-
If
MockServerRestTemplateCustomizer
should be enabled andMockRestServiceServer
beans should be registered. - enabled() - Element in annotation interface org.springframework.boot.test.autoconfigure.webservices.client.AutoConfigureMockWebServiceServer
-
If
MockWebServiceServer
bean should be registered. - endpoints() - Element in annotation interface org.springframework.boot.test.autoconfigure.webservices.server.WebServiceServerTest
-
Specifies the endpoints to test.
- equals(Object) - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- equals(Object) - Method in class org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- exclude(MetadataReader, MetadataReaderFactory) - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- EXCLUDE - Enum constant in enum class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter.FilterType
- excludeAutoConfiguration() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.cassandra.DataCassandraTest
-
Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.couchbase.DataCouchbaseTest
-
Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.elasticsearch.DataElasticsearchTest
-
Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.jdbc.DataJdbcTest
-
Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.ldap.DataLdapTest
-
Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTest
-
Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.neo4j.DataNeo4jTest
-
Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.r2dbc.DataR2dbcTest
-
Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.redis.DataRedisTest
-
Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Element in annotation interface org.springframework.boot.test.autoconfigure.graphql.GraphQlTest
-
Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Element in annotation interface org.springframework.boot.test.autoconfigure.jdbc.JdbcTest
-
Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Element in annotation interface org.springframework.boot.test.autoconfigure.jooq.JooqTest
-
Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Element in annotation interface org.springframework.boot.test.autoconfigure.json.JsonTest
-
Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Element in annotation interface org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest
-
Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.client.RestClientTest
-
Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTest
-
Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest
-
Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Element in annotation interface org.springframework.boot.test.autoconfigure.webservices.client.WebServiceClientTest
-
Auto-configuration exclusions that should be applied for this test.
- excludeAutoConfiguration() - Element in annotation interface org.springframework.boot.test.autoconfigure.webservices.server.WebServiceServerTest
-
Auto-configuration exclusions that should be applied for this test.
- excludeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.cassandra.DataCassandraTest
-
A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.couchbase.DataCouchbaseTest
-
A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.elasticsearch.DataElasticsearchTest
-
A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.jdbc.DataJdbcTest
-
A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.ldap.DataLdapTest
-
A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTest
-
A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.neo4j.DataNeo4jTest
-
A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.r2dbc.DataR2dbcTest
-
A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.redis.DataRedisTest
-
A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.graphql.GraphQlTest
-
A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.jdbc.JdbcTest
-
A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.jooq.JooqTest
-
A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.json.JsonTest
-
A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest
-
A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.client.RestClientTest
-
A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTest
-
A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest
-
A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.webservices.client.WebServiceClientTest
-
A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
- excludeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.webservices.server.WebServiceServerTest
-
A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
F
- FilterAnnotations - Class in org.springframework.boot.test.autoconfigure.filter
-
Utility to load
TypeFilters
from@Filter
annotations. - FilterAnnotations(ClassLoader, ComponentScan.Filter[]) - Constructor for class org.springframework.boot.test.autoconfigure.filter.FilterAnnotations
- find(Class<E>, Object) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
-
Find by primary key.
- flush() - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
-
Synchronize the persistence context to the underlying database.
G
- get(String, ObjectFactory<?>) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.WebDriverScope
- getAnnotation() - Method in class org.springframework.boot.test.autoconfigure.filter.StandardAnnotationCustomizableTypeExcludeFilter
- getAnnotationType() - Method in class org.springframework.boot.test.autoconfigure.filter.StandardAnnotationCustomizableTypeExcludeFilter
- getComponentIncludes() - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- getComponentIncludes() - Method in class org.springframework.boot.test.autoconfigure.filter.StandardAnnotationCustomizableTypeExcludeFilter
- getComponentIncludes() - Method in class org.springframework.boot.test.autoconfigure.graphql.GraphQlTypeExcludeFilter
- getComponentIncludes() - Method in class org.springframework.boot.test.autoconfigure.web.client.RestClientTypeExcludeFilter
- getComponentIncludes() - Method in class org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTypeExcludeFilter
- getComponentIncludes() - Method in class org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTypeExcludeFilter
- getComponentIncludes() - Method in class org.springframework.boot.test.autoconfigure.webservices.client.WebServiceClientExcludeFilter
- getComponentIncludes() - Method in class org.springframework.boot.test.autoconfigure.webservices.server.WebServiceServerTypeExcludeFilter
- getConversationId() - Method in class org.springframework.boot.test.autoconfigure.web.servlet.WebDriverScope
- getDefaultIncludes() - Method in class org.springframework.boot.test.autoconfigure.data.jdbc.DataJdbcTypeExcludeFilter
- getDefaultIncludes() - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- getDefaultIncludes() - Method in class org.springframework.boot.test.autoconfigure.filter.StandardAnnotationCustomizableTypeExcludeFilter
- getDefaultIncludes() - Method in class org.springframework.boot.test.autoconfigure.graphql.GraphQlTypeExcludeFilter
- getDefaultIncludes() - Method in class org.springframework.boot.test.autoconfigure.json.JsonTypeExcludeFilter
- getDefaultIncludes() - Method in class org.springframework.boot.test.autoconfigure.web.client.RestClientTypeExcludeFilter
- getDefaultIncludes() - Method in class org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTypeExcludeFilter
- getDefaultIncludes() - Method in class org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTypeExcludeFilter
- getDefaultIncludes() - Method in class org.springframework.boot.test.autoconfigure.webservices.server.WebServiceServerTypeExcludeFilter
- getEntityManager() - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
-
Return the underlying
EntityManager
that's actually used to perform all operations. - getFilters(AnnotationCustomizableTypeExcludeFilter.FilterType) - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- getFilters(AnnotationCustomizableTypeExcludeFilter.FilterType) - Method in class org.springframework.boot.test.autoconfigure.filter.StandardAnnotationCustomizableTypeExcludeFilter
- getId(Object) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
-
Return the ID of the given entity.
- getId(Object, Class<T>) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
-
Return the ID of the given entity cast to a specific type.
- getOrder() - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener
- getOrder() - Method in class org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener
- getOrder() - Method in class org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener
- getPrint() - Method in class org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
- getProperty(String) - Method in class org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- getPropertyNames() - Method in class org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- getUriHost() - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsProperties
- getUriPort() - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsProperties
- getUriScheme() - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsProperties
- GraphQlTest - Annotation Interface in org.springframework.boot.test.autoconfigure.graphql
-
Annotation to perform GraphQL tests focusing on GraphQL request execution without a Web layer, and loading only a subset of the application configuration.
- graphQlTester(ExecutionGraphQlService, ObjectProvider<ObjectMapper>) - Method in class org.springframework.boot.test.autoconfigure.graphql.tester.GraphQlTesterAutoConfiguration
- GraphQlTesterAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.graphql.tester
-
Auto-configuration for
GraphQlTester
. - GraphQlTesterAutoConfiguration() - Constructor for class org.springframework.boot.test.autoconfigure.graphql.tester.GraphQlTesterAutoConfiguration
- GraphQlTypeExcludeFilter - Class in org.springframework.boot.test.autoconfigure.graphql
-
TypeExcludeFilter
for@GraphQlTest
.
H
- hasAnnotation() - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- hasAnnotation() - Method in class org.springframework.boot.test.autoconfigure.filter.StandardAnnotationCustomizableTypeExcludeFilter
- hashCode() - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- hashCode() - Method in class org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- htmlUnitDriver(MockMvcHtmlUnitDriverBuilder) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration
- htmlUnitWebClient(MockMvcWebClientBuilder) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration
- HttpGraphQlTesterAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.graphql.tester
-
Auto-configuration for
HttpGraphQlTester
. - HttpGraphQlTesterAutoConfiguration() - Constructor for class org.springframework.boot.test.autoconfigure.graphql.tester.HttpGraphQlTesterAutoConfiguration
I
- include(MetadataReader, MetadataReaderFactory) - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- INCLUDE - Enum constant in enum class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter.FilterType
- includeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.cassandra.DataCassandraTest
-
A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.couchbase.DataCouchbaseTest
-
A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.elasticsearch.DataElasticsearchTest
-
A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.jdbc.DataJdbcTest
-
A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.ldap.DataLdapTest
-
A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTest
-
A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.neo4j.DataNeo4jTest
-
A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.r2dbc.DataR2dbcTest
-
A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.redis.DataRedisTest
-
A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.graphql.GraphQlTest
-
A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.jdbc.JdbcTest
-
A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.jooq.JooqTest
-
A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.json.JsonTest
-
A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest
-
A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.client.RestClientTest
-
A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTest
-
A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest
-
A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.webservices.client.WebServiceClientTest
-
A set of include filters which can be used to add otherwise filtered beans to the application context.
- includeFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.webservices.server.WebServiceServerTest
-
A set of include filters which can be used to add otherwise filtered beans to the application context.
- isAddFilters() - Method in class org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
- isEmpty() - Method in class org.springframework.boot.test.autoconfigure.properties.AnnotationsPropertySource
- isPrintOnlyOnFailure() - Method in class org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
- isTypeOrAnnotated(MetadataReader, MetadataReaderFactory, Class<?>) - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- isUseDefaultFilters() - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- isUseDefaultFilters() - Method in class org.springframework.boot.test.autoconfigure.filter.StandardAnnotationCustomizableTypeExcludeFilter
- iterator() - Method in class org.springframework.boot.test.autoconfigure.filter.FilterAnnotations
J
- JdbcTest - Annotation Interface in org.springframework.boot.test.autoconfigure.jdbc
-
Annotation for a JDBC test that focuses only on JDBC-based components.
- JdbcTypeExcludeFilter - Class in org.springframework.boot.test.autoconfigure.jdbc
-
TypeExcludeFilter
for@JdbcTest
. - JooqTest - Annotation Interface in org.springframework.boot.test.autoconfigure.jooq
-
Annotation for a jOOQ test that focuses only on jOOQ-based components.
- JooqTypeExcludeFilter - Class in org.springframework.boot.test.autoconfigure.jooq
-
TypeExcludeFilter
for@JooqTest
. - jsonMarshalTestersBeanPostProcessor() - Static method in class org.springframework.boot.test.autoconfigure.json.JsonTestersAutoConfiguration
- JsonTest - Annotation Interface in org.springframework.boot.test.autoconfigure.json
-
Annotation for a JSON test that focuses only on JSON serialization.
- JsonTestersAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.json
-
Auto-configuration for Json testers.
- JsonTestersAutoConfiguration() - Constructor for class org.springframework.boot.test.autoconfigure.json.JsonTestersAutoConfiguration
- JsonTypeExcludeFilter - Class in org.springframework.boot.test.autoconfigure.json
-
TypeExcludeFilter
for@JsonTest
.
L
- LOG_DEBUG - Enum constant in enum class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrint
-
Log MVC interactions at the
DEBUG
level.
M
- match(MetadataReader, MetadataReaderFactory) - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- merge(E) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
-
Merge the state of the given entity into the current persistence context.
- metrics() - Element in annotation interface org.springframework.boot.test.autoconfigure.actuate.observability.AutoConfigureObservability
-
Whether metrics should be enabled in the test.
- mockMvc(MockMvcBuilder) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration
- MockMvcAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.web.servlet
-
Auto-configuration for
MockMvc
. - mockMvcBuilder(List<MockMvcBuilderCustomizer>) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration
- MockMvcBuilderCustomizer - Interface in org.springframework.boot.test.autoconfigure.web.servlet
-
A customizer for a
ConfigurableMockMvcBuilder
. - mockMvcHtmlUnitDriverBuilder(MockMvc, Environment) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration
- MockMvcPrint - Enum Class in org.springframework.boot.test.autoconfigure.web.servlet
-
MVC print options specified from
@AutoConfigureMockMvc
. - MockMvcWebClientAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.web.servlet
-
Auto-configuration for HtmlUnit
WebClient
MockMVC integration. - MockMvcWebClientAutoConfiguration() - Constructor for class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration
- mockMvcWebClientBuilder(MockMvc, Environment) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration
- MockMvcWebDriverAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.web.servlet
-
Auto-configuration for Selenium
WebDriver
MockMVC integration. - MockMvcWebDriverAutoConfiguration() - Constructor for class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration
- mockRestServiceServer(MockServerRestTemplateCustomizer) - Method in class org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerAutoConfiguration
- MockRestServiceServerAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.web.client
-
Auto-configuration for
MockRestServiceServer
support. - MockRestServiceServerAutoConfiguration() - Constructor for class org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerAutoConfiguration
- mockServerRestTemplateCustomizer() - Method in class org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerAutoConfiguration
- MockWebServiceClientAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.webservices.server
-
Auto-configuration for
MockWebServiceClient
support. - MockWebServiceClientAutoConfiguration() - Constructor for class org.springframework.boot.test.autoconfigure.webservices.server.MockWebServiceClientAutoConfiguration
- mockWebServiceServer() - Method in class org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerAutoConfiguration
- MockWebServiceServerAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.webservices.client
-
Auto-configuration for
MockWebServiceServer
support. - MockWebServiceServerAutoConfiguration() - Constructor for class org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerAutoConfiguration
- MockWebServiceServerTestExecutionListener - Class in org.springframework.boot.test.autoconfigure.webservices.client
-
TestExecutionListener
toverify
andreset
MockWebServiceServer
. - MockWebServiceServerTestExecutionListener() - Constructor for class org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener
- mockWebServiceServerWebServiceTemplateCustomizer(TestMockWebServiceServer) - Method in class org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerAutoConfiguration
N
- NAME - Static variable in class org.springframework.boot.test.autoconfigure.web.servlet.WebDriverScope
-
WebDriver bean scope name.
- NO - Enum constant in enum class org.springframework.boot.test.autoconfigure.properties.SkipPropertyMapping
-
Don't skip mapping the property.
- NONE - Enum constant in enum class org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase.Replace
-
Don't replace the application default DataSource.
- NONE - Enum constant in enum class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrint
-
Do not print MVC interactions.
O
- ON_DEFAULT_VALUE - Enum constant in enum class org.springframework.boot.test.autoconfigure.properties.SkipPropertyMapping
-
Skip mapping the property when the default attribute value is specified.
- org.springframework.boot.test.autoconfigure - package org.springframework.boot.test.autoconfigure
-
Test auto-configuration support.
- org.springframework.boot.test.autoconfigure.actuate.metrics - package org.springframework.boot.test.autoconfigure.actuate.metrics
-
Auto-configuration for handling metrics in tests.
- org.springframework.boot.test.autoconfigure.actuate.observability - package org.springframework.boot.test.autoconfigure.actuate.observability
-
Auto-configuration for handling observability in tests.
- org.springframework.boot.test.autoconfigure.core - package org.springframework.boot.test.autoconfigure.core
-
Auto-configuration for core parts common to most Spring Boot applications.
- org.springframework.boot.test.autoconfigure.data.cassandra - package org.springframework.boot.test.autoconfigure.data.cassandra
-
Auto-configuration for Data Cassandra tests.
- org.springframework.boot.test.autoconfigure.data.couchbase - package org.springframework.boot.test.autoconfigure.data.couchbase
-
Auto-configuration for Data Couchbase tests.
- org.springframework.boot.test.autoconfigure.data.elasticsearch - package org.springframework.boot.test.autoconfigure.data.elasticsearch
-
Auto-configuration for Data Elasticsearch tests.
- org.springframework.boot.test.autoconfigure.data.jdbc - package org.springframework.boot.test.autoconfigure.data.jdbc
-
Auto-configuration for Data JDBC tests.
- org.springframework.boot.test.autoconfigure.data.ldap - package org.springframework.boot.test.autoconfigure.data.ldap
-
Auto-configuration for Data LDAP tests.
- org.springframework.boot.test.autoconfigure.data.mongo - package org.springframework.boot.test.autoconfigure.data.mongo
-
Auto-configuration for Data Mongo tests.
- org.springframework.boot.test.autoconfigure.data.neo4j - package org.springframework.boot.test.autoconfigure.data.neo4j
-
Auto-configuration for Data Neo4j tests.
- org.springframework.boot.test.autoconfigure.data.r2dbc - package org.springframework.boot.test.autoconfigure.data.r2dbc
-
Auto-configuration for Data R2DBC tests.
- org.springframework.boot.test.autoconfigure.data.redis - package org.springframework.boot.test.autoconfigure.data.redis
-
Auto-configuration for Data Redis tests.
- org.springframework.boot.test.autoconfigure.filter - package org.springframework.boot.test.autoconfigure.filter
-
Helper utilities for using
TypeExcludeFilter
with auto-configured tests. - org.springframework.boot.test.autoconfigure.graphql - package org.springframework.boot.test.autoconfigure.graphql
-
Auto-configuration for GraphQL testing.
- org.springframework.boot.test.autoconfigure.graphql.tester - package org.springframework.boot.test.autoconfigure.graphql.tester
-
Auto-configuration for GraphQL tester.
- org.springframework.boot.test.autoconfigure.jdbc - package org.springframework.boot.test.autoconfigure.jdbc
-
Auto-configuration for JDBC tests.
- org.springframework.boot.test.autoconfigure.jooq - package org.springframework.boot.test.autoconfigure.jooq
-
Auto-configuration for jOOQ tests.
- org.springframework.boot.test.autoconfigure.json - package org.springframework.boot.test.autoconfigure.json
-
Auto-configuration for JSON tests.
- org.springframework.boot.test.autoconfigure.orm.jpa - package org.springframework.boot.test.autoconfigure.orm.jpa
-
Auto-configuration for Data JPA tests.
- org.springframework.boot.test.autoconfigure.properties - package org.springframework.boot.test.autoconfigure.properties
-
Support for mapping annotation attribute values in the Spring
Environment
. - org.springframework.boot.test.autoconfigure.restdocs - package org.springframework.boot.test.autoconfigure.restdocs
-
Auto-configuration for tests using Spring REST Docs.
- org.springframework.boot.test.autoconfigure.web.client - package org.springframework.boot.test.autoconfigure.web.client
-
Auto-configuration for web clients.
- org.springframework.boot.test.autoconfigure.web.reactive - package org.springframework.boot.test.autoconfigure.web.reactive
-
Auto-configuration for reactive web tests.
- org.springframework.boot.test.autoconfigure.web.servlet - package org.springframework.boot.test.autoconfigure.web.servlet
-
Auto-configuration for Spring MVC tests.
- org.springframework.boot.test.autoconfigure.webservices.client - package org.springframework.boot.test.autoconfigure.webservices.client
-
Auto-configuration for web service clients.
- org.springframework.boot.test.autoconfigure.webservices.server - package org.springframework.boot.test.autoconfigure.webservices.server
-
Auto-configuration for web service server tests.
- outputDir() - Element in annotation interface org.springframework.boot.test.autoconfigure.restdocs.AutoConfigureRestDocs
-
The output directory to which generated snippets will be written.
- OverrideAutoConfiguration - Annotation Interface in org.springframework.boot.test.autoconfigure
-
Annotation that can be used to override
@EnableAutoConfiguration
.
P
- persist(E) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
-
Make an instance managed and persistent.
- persistAndFlush(E) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
-
Make an instance managed and persistent then synchronize the persistence context to the underlying database.
- persistAndGetId(Object) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
-
Make an instance managed and persistent then return its ID.
- persistAndGetId(Object, Class<T>) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
-
Make an instance managed and persistent then return its ID.
- persistFlushFind(E) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
-
Make an instance managed and persistent, synchronize the persistence context to the underlying database and finally find the persisted entity by its ID.
- prepareTestInstance(TestContext) - Method in class org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener
-
Deprecated.
- print() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
-
How
MvcResult
information should be printed after each MockMVC invocation. - printOnlyOnFailure() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
-
If
MvcResult
information should be printed only if the test fails. - processLoadFailure(ApplicationContext, Throwable) - Method in class org.springframework.boot.test.autoconfigure.ConditionReportApplicationContextFailureProcessor
- properties() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.cassandra.DataCassandraTest
-
Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.couchbase.DataCouchbaseTest
-
Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.elasticsearch.DataElasticsearchTest
-
Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.jdbc.DataJdbcTest
-
Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.ldap.DataLdapTest
-
Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTest
-
Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.neo4j.DataNeo4jTest
-
Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.r2dbc.DataR2dbcTest
-
Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.redis.DataRedisTest
-
Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Element in annotation interface org.springframework.boot.test.autoconfigure.graphql.GraphQlTest
-
Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Element in annotation interface org.springframework.boot.test.autoconfigure.jdbc.JdbcTest
-
Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Element in annotation interface org.springframework.boot.test.autoconfigure.jooq.JooqTest
-
Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Element in annotation interface org.springframework.boot.test.autoconfigure.json.JsonTest
-
Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Element in annotation interface org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest
-
Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.client.RestClientTest
-
Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTest
-
Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest
-
Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Element in annotation interface org.springframework.boot.test.autoconfigure.webservices.client.WebServiceClientTest
-
Properties in form key=value that should be added to the Spring
Environment
before the test runs. - properties() - Element in annotation interface org.springframework.boot.test.autoconfigure.webservices.server.WebServiceServerTest
-
Properties in form key=value that should be added to the Spring
Environment
before the test runs. - PropertyMapping - Annotation Interface in org.springframework.boot.test.autoconfigure.properties
-
Indicates that attributes from a test annotation should be mapped into a
@PropertySource
.
R
- refresh(E) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
-
Refresh the state of the instance from the database, overwriting changes made to the entity, if any.
- registerDestructionCallback(String, Runnable) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.WebDriverScope
- registerRestTemplate() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.client.AutoConfigureWebClient
-
If a
RestTemplate
bean should be registered. - registerWebServiceTemplate() - Element in annotation interface org.springframework.boot.test.autoconfigure.webservices.client.AutoConfigureWebServiceClient
-
If a
WebServiceTemplate
bean should be registered. - remove(Object) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
-
Remove the entity instance.
- remove(String) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.WebDriverScope
- replace() - Element in annotation interface org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase
-
Determines what type of existing DataSource bean can be replaced.
- resolveContextualObject(String) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.WebDriverScope
- RestClientTest - Annotation Interface in org.springframework.boot.test.autoconfigure.web.client
-
Annotation for a Spring rest client test that focuses only on beans that use
RestTemplateBuilder
. - RestClientTypeExcludeFilter - Class in org.springframework.boot.test.autoconfigure.web.client
-
TypeExcludeFilter
for@RestClientTest
. - RestDocsAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.restdocs
-
Auto-configuration
for Spring REST Docs. - RestDocsAutoConfiguration() - Constructor for class org.springframework.boot.test.autoconfigure.restdocs.RestDocsAutoConfiguration
- RestDocsMockMvcBuilderCustomizer - Class in org.springframework.boot.test.autoconfigure.restdocs
-
A
MockMvcBuilderCustomizer
that configures Spring REST Docs. - RestDocsMockMvcConfigurationCustomizer - Interface in org.springframework.boot.test.autoconfigure.restdocs
-
A customizer for
MockMvcRestDocumentationConfigurer
. - RestDocsProperties - Class in org.springframework.boot.test.autoconfigure.restdocs
-
Configuration properties for Spring REST Docs.
- RestDocsProperties() - Constructor for class org.springframework.boot.test.autoconfigure.restdocs.RestDocsProperties
- RestDocsRestAssuredConfigurationCustomizer - Interface in org.springframework.boot.test.autoconfigure.restdocs
-
A customizer for
RestAssuredRestDocumentationConfigurer
. - RestDocsTestExecutionListener - Class in org.springframework.boot.test.autoconfigure.restdocs
-
A
TestExecutionListener
for Spring REST Docs that removes the need for a@Rule
when using JUnit or manual before and after test calls when using TestNG. - RestDocsTestExecutionListener() - Constructor for class org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener
- RestDocsWebTestClientConfigurationCustomizer - Interface in org.springframework.boot.test.autoconfigure.restdocs
-
A customizer for
WebTestClientRestDocumentationConfigurer
. - restTemplate(RestTemplateBuilder) - Method in class org.springframework.boot.test.autoconfigure.web.client.WebClientRestTemplateAutoConfiguration
S
- setAddFilters(boolean) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
- setPrint(MockMvcPrint) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
- setPrintOnlyOnFailure(boolean) - Method in class org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
- setTimeout(Duration) - Method in class org.springframework.boot.test.autoconfigure.web.reactive.SpringBootWebTestClientBuilderCustomizer
- setUriHost(String) - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsProperties
- setUriPort(Integer) - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsProperties
- setUriScheme(String) - Method in class org.springframework.boot.test.autoconfigure.restdocs.RestDocsProperties
- showSql() - Element in annotation interface org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest
-
If SQL output should be logged.
- skip() - Element in annotation interface org.springframework.boot.test.autoconfigure.properties.PropertyMapping
-
Determines if mapping should be skipped.
- SkipPropertyMapping - Enum Class in org.springframework.boot.test.autoconfigure.properties
-
Enum used to control when
@PropertyMapping
is skipped. - SpringBootDependencyInjectionTestExecutionListener - Class in org.springframework.boot.test.autoconfigure
-
Deprecated, for removal: This API element is subject to removal in a future version.since 3.0.0 for removal in 3.2.0 in favor of
ApplicationContextFailureProcessor
- SpringBootDependencyInjectionTestExecutionListener() - Constructor for class org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener
-
Deprecated.
- springBootMockMvcBuilderCustomizer() - Method in class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration
- SpringBootMockMvcBuilderCustomizer - Class in org.springframework.boot.test.autoconfigure.web.servlet
-
MockMvcBuilderCustomizer
for a typical Spring Boot application. - SpringBootMockMvcBuilderCustomizer(WebApplicationContext) - Constructor for class org.springframework.boot.test.autoconfigure.web.servlet.SpringBootMockMvcBuilderCustomizer
-
Create a new
SpringBootMockMvcBuilderCustomizer
instance. - springBootWebTestClientBuilderCustomizer(ObjectProvider<CodecCustomizer>) - Method in class org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration
- SpringBootWebTestClientBuilderCustomizer - Class in org.springframework.boot.test.autoconfigure.web.reactive
-
WebTestClientBuilderCustomizer
for a typical Spring Boot application. - SpringBootWebTestClientBuilderCustomizer(Collection<CodecCustomizer>) - Constructor for class org.springframework.boot.test.autoconfigure.web.reactive.SpringBootWebTestClientBuilderCustomizer
-
Create a new
SpringBootWebTestClientBuilderCustomizer
that will configure the builder's codecs using the givencodecCustomizers
. - StandardAnnotationCustomizableTypeExcludeFilter<A extends Annotation> - Class in org.springframework.boot.test.autoconfigure.filter
-
AnnotationCustomizableTypeExcludeFilter
that can be used to any test annotation that uses the standardincludeFilters
,excludeFilters
anduseDefaultFilters
attributes. - StandardAnnotationCustomizableTypeExcludeFilter(Class<?>) - Constructor for class org.springframework.boot.test.autoconfigure.filter.StandardAnnotationCustomizableTypeExcludeFilter
- SYSTEM_ERR - Enum constant in enum class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrint
-
Print MVC interactions to
System.err
. - SYSTEM_OUT - Enum constant in enum class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrint
-
Print MVC interactions to
System.out
.
T
- TestDatabaseAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.jdbc
-
Auto-configuration for a test database.
- TestDatabaseAutoConfiguration() - Constructor for class org.springframework.boot.test.autoconfigure.jdbc.TestDatabaseAutoConfiguration
- testEntityManager(EntityManagerFactory) - Method in class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManagerAutoConfiguration
- TestEntityManager - Class in org.springframework.boot.test.autoconfigure.orm.jpa
-
Alternative to
EntityManager
for use in JPA tests. - TestEntityManager(EntityManagerFactory) - Constructor for class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager
-
Create a new
TestEntityManager
instance for the givenEntityManagerFactory
. - TestEntityManagerAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.orm.jpa
-
Auto-configuration for
TestEntityManager
. - TestEntityManagerAutoConfiguration() - Constructor for class org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManagerAutoConfiguration
- timeout() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.reactive.AutoConfigureWebTestClient
-
The timeout duration for the client (in any format handled by
Duration.parse(CharSequence)
). - tracing() - Element in annotation interface org.springframework.boot.test.autoconfigure.actuate.observability.AutoConfigureObservability
-
Whether tracing should be enabled in the test.
- TypeExcludeFilters - Annotation Interface in org.springframework.boot.test.autoconfigure.filter
-
Annotation that can be on tests to define a set of
TypeExcludeFilter
classes that should be applied to@SpringBootApplication
component scanning.
U
- uriHost() - Element in annotation interface org.springframework.boot.test.autoconfigure.restdocs.AutoConfigureRestDocs
-
The host to be used in documented URIs.
- uriPort() - Element in annotation interface org.springframework.boot.test.autoconfigure.restdocs.AutoConfigureRestDocs
-
The port to be used in documented URIs.
- uriScheme() - Element in annotation interface org.springframework.boot.test.autoconfigure.restdocs.AutoConfigureRestDocs
-
The scheme (typically
http
orhttps
) to be used in documented URIs. - useDefaultFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.cassandra.DataCassandraTest
-
Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.couchbase.DataCouchbaseTest
-
Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.elasticsearch.DataElasticsearchTest
-
Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.jdbc.DataJdbcTest
-
Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.ldap.DataLdapTest
-
Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTest
-
Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.neo4j.DataNeo4jTest
-
Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.r2dbc.DataR2dbcTest
-
Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.data.redis.DataRedisTest
-
Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.graphql.GraphQlTest
-
Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.jdbc.JdbcTest
-
Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.jooq.JooqTest
-
Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.json.JsonTest
-
Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest
-
Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.client.RestClientTest
-
Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTest
-
Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest
-
Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.webservices.client.WebServiceClientTest
-
Determines if default filtering should be used with
@SpringBootApplication
. - useDefaultFilters() - Element in annotation interface org.springframework.boot.test.autoconfigure.webservices.server.WebServiceServerTest
-
Determines if default filtering should be used with
@SpringBootApplication
.
V
- value() - Element in annotation interface org.springframework.boot.test.autoconfigure.filter.TypeExcludeFilters
-
Specifies
TypeExcludeFilter
classes that should be applied to@SpringBootApplication
component scanning. - value() - Element in annotation interface org.springframework.boot.test.autoconfigure.graphql.GraphQlTest
-
Specifies the controllers to test.
- value() - Element in annotation interface org.springframework.boot.test.autoconfigure.properties.PropertyMapping
-
Defines the property mapping.
- value() - Element in annotation interface org.springframework.boot.test.autoconfigure.restdocs.AutoConfigureRestDocs
-
The output directory to which generated snippets will be written.
- value() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.client.RestClientTest
-
Specifies the components to test.
- value() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTest
-
Specifies the controllers to test.
- value() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest
-
Specifies the controllers to test.
- value() - Element in annotation interface org.springframework.boot.test.autoconfigure.webservices.client.WebServiceClientTest
-
Specifies the components to test.
- value() - Element in annotation interface org.springframework.boot.test.autoconfigure.webservices.server.WebServiceServerTest
-
Specifies the endpoints to test.
- valueOf(String) - Static method in enum class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter.FilterType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase.Replace
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.boot.test.autoconfigure.properties.SkipPropertyMapping
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrint
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter.FilterType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase.Replace
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.boot.test.autoconfigure.properties.SkipPropertyMapping
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrint
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- webClientEnabled() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
-
If a
WebClient
should be auto-configured when HtmlUnit is on the classpath. - WebClientRestTemplateAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.web.client
-
Auto-configuration for a web-client
RestTemplate
. - WebClientRestTemplateAutoConfiguration() - Constructor for class org.springframework.boot.test.autoconfigure.web.client.WebClientRestTemplateAutoConfiguration
- webDriverEnabled() - Element in annotation interface org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
-
If a
WebDriver
should be auto-configured when Selenium is on the classpath. - WebDriverScope - Class in org.springframework.boot.test.autoconfigure.web.servlet
-
A special scope used for
WebDriver
beans. - WebDriverScope() - Constructor for class org.springframework.boot.test.autoconfigure.web.servlet.WebDriverScope
- WebDriverTestExecutionListener - Class in org.springframework.boot.test.autoconfigure.web.servlet
-
TestExecutionListener
to reset theWebDriverScope
. - WebDriverTestExecutionListener() - Constructor for class org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener
- WebFluxTest - Annotation Interface in org.springframework.boot.test.autoconfigure.web.reactive
-
Annotation that can be used for a Spring WebFlux test that focuses only on Spring WebFlux components.
- WebFluxTypeExcludeFilter - Class in org.springframework.boot.test.autoconfigure.web.reactive
-
TypeExcludeFilter
for@WebFluxTest
. - WebMvcTest - Annotation Interface in org.springframework.boot.test.autoconfigure.web.servlet
-
Annotation that can be used for a Spring MVC test that focuses only on Spring MVC components.
- WebMvcTypeExcludeFilter - Class in org.springframework.boot.test.autoconfigure.web.servlet
-
TypeExcludeFilter
for@WebMvcTest
. - WebServiceClientExcludeFilter - Class in org.springframework.boot.test.autoconfigure.webservices.client
-
TypeExcludeFilter
for@WebServiceClientTest
. - WebServiceClientTemplateAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.webservices.client
-
Auto-configuration for a web-client
WebServiceTemplate
. - WebServiceClientTemplateAutoConfiguration() - Constructor for class org.springframework.boot.test.autoconfigure.webservices.client.WebServiceClientTemplateAutoConfiguration
- WebServiceClientTest - Annotation Interface in org.springframework.boot.test.autoconfigure.webservices.client
-
Annotation that can be used for a typical Spring web service client test.
- WebServiceServerTest - Annotation Interface in org.springframework.boot.test.autoconfigure.webservices.server
-
Annotation that can be used for a typical Spring web service server test.
- WebServiceServerTypeExcludeFilter - Class in org.springframework.boot.test.autoconfigure.webservices.server
-
TypeExcludeFilter
for@WebServiceServerTest
. - webServiceTemplate(WebServiceTemplateBuilder) - Method in class org.springframework.boot.test.autoconfigure.webservices.client.WebServiceClientTemplateAutoConfiguration
- webTestClient(ApplicationContext, List<WebTestClientBuilderCustomizer>, List<MockServerConfigurer>) - Method in class org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration
- WebTestClientAutoConfiguration - Class in org.springframework.boot.test.autoconfigure.web.reactive
-
Auto-configuration for
WebTestClient
. - WebTestClientAutoConfiguration() - Constructor for class org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration
- webTestClientGraphQlTester(WebTestClient, GraphQlProperties) - Method in class org.springframework.boot.test.autoconfigure.graphql.tester.HttpGraphQlTesterAutoConfiguration
Y
- YES - Enum constant in enum class org.springframework.boot.test.autoconfigure.properties.SkipPropertyMapping
-
Skip mapping the property.
All Classes and Interfaces|All Packages|Constant Field Values
@AutoConfigureObservability