批注接口的使用
org.springframework.boot.test.autoconfigure.properties.PropertyMapping
使用PropertyMapping的程序包
程序包
说明
Auto-configuration for JDBC tests.
Auto-configuration for JSON tests.
Auto-configuration for tests using Spring REST Docs.
Auto-configuration for web clients.
Auto-configuration for reactive web tests.
Auto-configuration for Spring MVC tests.
Auto-configuration for web service clients.
-
org.springframework.boot.test.autoconfigure.jdbc中PropertyMapping的使用
修饰符和类型类说明@interface
Annotation that can be applied to a test class to configure a test database to use instead of the application-defined or auto-configuredDataSource
. -
org.springframework.boot.test.autoconfigure.json中PropertyMapping的使用
修饰符和类型类说明@interface
Annotation that can be applied to a test class to enable and configure auto-configuration of JSON testers. -
org.springframework.boot.test.autoconfigure.restdocs中PropertyMapping的使用
修饰符和类型类说明@interface
Annotation that can be applied to a test class to enable and configure auto-configuration of Spring REST Docs. -
org.springframework.boot.test.autoconfigure.web.client中PropertyMapping的使用
修饰符和类型类说明@interface
Annotation that can be applied to a test class to enable and configure auto-configuration of a singleMockRestServiceServer
.@interface
Annotation that can be applied to a test class to enable and configure auto-configuration of web clients. -
org.springframework.boot.test.autoconfigure.web.reactive中PropertyMapping的使用
修饰符和类型类说明@interface
Annotation that can be applied to a test class to enable aWebTestClient
that is bound directly to the application. -
org.springframework.boot.test.autoconfigure.web.servlet中PropertyMapping的使用
修饰符和类型类说明@interface
Annotation that can be applied to a test class to enable and configure auto-configuration ofMockMvc
. -
org.springframework.boot.test.autoconfigure.webservices.client中PropertyMapping的使用
修饰符和类型类说明@interface
Annotation that can be applied to a test class to enable and configure auto-configuration of a singleMockWebServiceServer
.@interface
Annotation that can be applied to a test class to enable and configure auto-configuration of web service clients.