gqlgentest

package
Version: v0.0.0-...-c4a9f55 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner interface {
	Run(t *testing.T, f func(t *testing.T, err error))
	AddGqlGenOption(opst ...api.Option)
	AddGqlSchema(filename, content string)
	ReplaceGqlSchema(filename, content string)
	AddGqlSchemaFile(t *testing.T, pattern string)
	AddGoModReplace(pkg, path string)
	Snapshot(t *testing.T, v ...interface{})
	SnapshotFile(t *testing.T, files ...string)
}

func New

func New(t *testing.T) Runner

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL