Package | Description |
---|---|
org.springframework.boot.test.autoconfigure.core |
Auto-configuration for core parts common to most Spring Boot applications.
|
org.springframework.boot.test.autoconfigure.data.mongo | |
org.springframework.boot.test.autoconfigure.jdbc | |
org.springframework.boot.test.autoconfigure.json |
Auto-configuration for JSON tests.
|
org.springframework.boot.test.autoconfigure.orm.jpa |
Auto-configuration for Data JPA tests.
|
org.springframework.boot.test.autoconfigure.restdocs | |
org.springframework.boot.test.autoconfigure.web.client |
Auto-configuration for web clients.
|
org.springframework.boot.test.autoconfigure.web.servlet |
Auto-configuration for Spring MVC tests.
|
Modifier and Type | Class and Description |
---|---|
interface |
AutoConfigureCache
Annotation that can be applied to a test class to enable and configure
auto-configuration of caching.
|
Modifier and Type | Class and Description |
---|---|
interface |
AutoConfigureDataMongo
Auto-configuration imports for typical Data MongoDB
tests. |
interface |
DataMongoTest
Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical MongoDB test. |
Modifier and Type | Class and Description |
---|---|
interface |
AutoConfigureJdbc
Auto-configuration imports for typical jdbc tests. |
interface |
AutoConfigureTestDatabase
Annotation that can be applied to a test class to configure a test database to use
instead of any application defined or auto-configured
DataSource . |
interface |
JdbcTest
Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical jdbc test. |
Modifier and Type | Class and Description |
---|---|
interface |
AutoConfigureJson
Auto-configuration imports for typical JSON tests. |
interface |
AutoConfigureJsonTesters
Annotation that can be applied to a test class to enable and configure
auto-configuration of JSON testers.
|
interface |
JsonTest
Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical JSON test. |
Modifier and Type | Class and Description |
---|---|
interface |
AutoConfigureDataJpa
Auto-configuration imports for typical Data JPA tests. |
interface |
AutoConfigureTestDatabase
Deprecated.
as of 1.5 in favor of
AutoConfigureTestDatabase |
interface |
AutoConfigureTestEntityManager
Annotation that can be applied to a test class to enable auto-configuration of a
TestEntityManager . |
interface |
DataJpaTest
Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical JPA test. |
Modifier and Type | Class and Description |
---|---|
interface |
AutoConfigureRestDocs
Annotation that can be applied to a test class to enable and configure
auto-configuration of Spring REST Docs.
|
Modifier and Type | Class and Description |
---|---|
interface |
AutoConfigureMockRestServiceServer
Annotation that can be applied to a test class to enable and configure
auto-configuration of a single
MockRestServiceServer . |
interface |
AutoConfigureWebClient
Annotation that can be applied to a test class to enable and configure
auto-configuration of web clients.
|
interface |
RestClientTest
Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical Spring rest client test. |
Modifier and Type | Class and Description |
---|---|
interface |
AutoConfigureMockMvc
Annotation that can be applied to a test class to enable and configure
auto-configuration of
MockMvc . |
interface |
AutoConfigureWebMvc
Auto-configuration imports for typical Spring MVC
tests. |
interface |
WebMvcTest
Annotation that can be used in combination with
@RunWith(SpringRunner.class)
for a typical Spring MVC test. |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.