testgraphql

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecordError

func RecordError(o *instanceOption)

Don't fail on error, snapshot it instead.

Types

type Option

type Option func(*instanceOption)

type Snapshotter

type Snapshotter struct {
	*snapshotter.Snapshotter
	// contains filtered or unexported fields
}

func NewSnapshotter

func NewSnapshotter(t *testing.T, schema *graphql.Schema) *Snapshotter

func (*Snapshotter) SnapshotQuery

func (s *Snapshotter) SnapshotQuery(name, query string, opts ...Option)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL