批注接口的使用
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.