Package | Description |
---|---|
org.springframework.graphql.test.tester |
GraphQL client testing support.
|
Class and Description |
---|
GraphQlTester
Contract for testing GraphQL requests.
|
GraphQlTester.Builder
A builder to create a
GraphQlTester instance. |
GraphQlTester.EntitySpec
Declare options available to assert data converted to an entity.
|
GraphQlTester.ErrorSpec
Declare options to filter out expected errors or inspect all errors and verify
there are no unexpected errors.
|
GraphQlTester.ExecuteSpec
Declare options to perform a GraphQL request.
|
GraphQlTester.ListEntitySpec
Extension of
GraphQlTester.EntitySpec with options available to assert data converted to
a List of entities. |
GraphQlTester.PathSpec
Declare options available to assert data at a given path.
|
GraphQlTester.RequestSpec
Declare options to gather input for a GraphQL request and execute it.
|
GraphQlTester.ResponseSpec
Declare options to check the data and errors of a GraphQL response.
|
GraphQlTester.SubscriptionSpec
Declare options available to assert a GraphQL Subscription response.
|
GraphQlTester.TraverseSpec
Declare options to switch to different part of the GraphQL response.
|
WebGraphQlTester
Main entry point for testing GraphQL over a Web transport with requests
executed
via WebTestClient or
via WebGraphQlHandler . |
WebGraphQlTester.Builder
A builder to create a
WebGraphQlTester instance. |
WebGraphQlTester.WebRequestSpec
Extends
GraphQlTester.RequestSpec with further input options
applicable to Web requests. |