datasourcetesting

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTest

func RunTest(definition, operation, operationName string, expectedPlan plan.Plan, config plan.Configuration, extraChecks ...CheckFunc) func(t *testing.T)

func ShuffleDS

func ShuffleDS(dataSources []plan.DataSourceConfiguration) []plan.DataSourceConfiguration

ShuffleDS randomizes the order of the data sources to ensure that the order doesn't matter

Types

type CheckFunc

type CheckFunc func(t *testing.T, op ast.Document, actualPlan plan.Plan)

Jump to

Keyboard shortcuts

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