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§
- Dynamic
Schema - A dynamic GraphQL schema that can be built and executed at runtime.
- Dynamic
Subgraph - A dynamic subgraph implementation that can be started as a mock GraphQL server.
- Extension
Only Subgraph - A subgraph that only contains extension definitions. We do not spawn a GraphQL server for this subgraph.
- Query
Builder - A builder for constructing GraphQL queries with customizable parameters and headers.
- Test
Config - Configuration for test cases.
- Test
Config Builder - Builder pattern to create a
TestConfig. - Test
Runner - A test runner that can start a gateway and execute GraphQL queries against it.
Enums§
- LogLevel
- Log level for the test process output. Default value is
LogLevel::Error.