批注接口 AutoConfigureHttpGraphQlTester
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Inherited
@AutoConfigureMockMvc
@AutoConfigureWebTestClient
@ImportAutoConfiguration
public @interface AutoConfigureHttpGraphQlTester
Annotation that can be applied to a test class to enable a
HttpGraphQlTester
.
This annotation should be used with
@SpringBootTest
tests with
Spring MVC or Spring WebFlux mock infrastructures.
- 从以下版本开始:
- 2.7.0
- 作者:
- Brian Clozel
- 另请参阅: