Versions in this module Expand all Collapse all v1 v1.1.0 Oct 18, 2024 v1.0.0 Sep 28, 2024 Changes in this version + func RunSubscribe(t *testing.T, test *TestSubscription) + func RunSubscribes(t *testing.T, tests []*TestSubscription) + func RunTest(t *testing.T, test *Test) + func RunTests(t *testing.T, tests []*Test) + type Test struct + Context context.Context + ExpectedErrors []*errors.QueryError + ExpectedResult string + OperationName string + Query string + RawResponse bool + Schema *graphql.Schema + Variables map[string]interface{} + type TestResponse struct + Data json.RawMessage + Errors []*errors.QueryError + type TestSubscription struct + ExpectedErr error + ExpectedResults []TestResponse + Name string + OperationName string + Query string + Schema *graphql.Schema + Variables map[string]interface{}