e053e1415856a35ea05ec5f546136e8b0f8efdd1
Prior to this commit, we could only test Spring GraphQL applications with a complete application - all application and infrastructure components were involved. While using `@SpringBootTest` is often useful for complete integration tests (with or without a live running server), we often want to write lean integration tests and test slices of our application. Just like `@WebMvcTest` or `@WebFluxTest`, this commit introduces the support for `@GraphQlTest`. This annotation helps us to test a particular slice of our application: a hand-picked selection of `@Controller`, plus `RuntimeWiringConfigurer` and `WebInterceptor` beans. Other `@Component` must be imported or mocked for those tests. This commit also refactors the existing auto-configuration to enable this use case. The `WebGraphQlHandlerAutoConfiguration` now holds the required components for `@GraphQlTest`, while other web-related auto-configurations bring the web framework and transport infrastructures. Closes gh-75
Spring GraphQL 
GraphQL support for Spring applications with GraphQL Java.
Code of Conduct
This project is governed by the Spring Code of Conduct. By participating, you are expected to uphold this code of conduct. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.
Documentation
This project has reference documentation (published and source), an API reference, and samples.
Continuous Integration Builds
Information regarding CI builds can be found in the Spring GraphQL Concourse pipeline documentation.
Stay in Touch
Follow @SpringCentral.
License
This project is released under version 2.0 of the Apache License.
Description
Languages
Java
97.9%
CSS
1.2%
Shell
0.7%
HTML
0.2%