Expand description
Test utilities for running and interacting with a GraphQL gateway.
This module provides functionality for:
- Configuring and starting a gateway instance
- Executing GraphQL queries against the gateway
- Building and loading extensions
Structs§
- Graphql
Collected Streaming Response - Represents a collected GraphQL subscription response.
- Graphql
Request - Represents a GraphQL request.
- Graphql
Response - Represents a GraphQL response.
- Graphql
Streaming Response - Represents a GraphQL subscription response.
- Graphql
Subgraph - A dynamic subgraph implementation that can be started as a mock GraphQL server.
- Graphql
Subgraph Builder - A builder for dynamic GraphQL schemas.
- Test
Gateway - A test runner that can start a gateway and execute GraphQL queries against it.
- Test
Gateway Builder - Builder pattern to create a
TestGateway
. - Virtual
Subgraph - A subgraph that only contains extension definitions. We do not spawn a GraphQL server for this subgraph.
Enums§
- LogLevel
- Log level for the test process output. Default value is
LogLevel::Error
.