批注接口 AutoConfigureWebTestClient


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @Inherited @ImportAutoConfiguration @PropertyMapping("spring.test.webtestclient") public @interface AutoConfigureWebTestClient
Annotation that can be applied to a test class to enable a WebTestClient that is bound directly to the application. Tests do not rely upon an HTTP server and use mock requests and responses. At the moment, only WebFlux applications are supported.
从以下版本开始:
2.0.0
作者:
Stephane Nicoll
另请参阅:
  • 元素详细资料