Versions in this module Expand all Collapse all v1 v1.0.1 Jul 23, 2020 v1.0.0 Jul 22, 2020 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 + 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{}