@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Inherited @ExtendWith(value=HttpMockExtension.class) public @interface HttpTest
| 限定符和类型 | 可选元素和说明 |
|---|---|
java.lang.String[] |
activeProfiles
配置springboot的active配置文件, Http相关配置优先级低于注解
|
java.lang.String |
contextPath
http测试上下文地址, 为空则读取spring boot配置文件
|
java.lang.String |
host |
int |
port
http测试应用端口, 为空则读取spring boot配置文件
|
java.lang.String |
scheme |