cockroach: github.com/cockroachdb/cockroach/pkg/sql/opt/testutils Index | Files | Directories

package testutils

import "github.com/cockroachdb/cockroach/pkg/sql/opt/testutils"

Index

Package Files

build.go utils.go

func BuildQuery Uses

func BuildQuery(
    t *testing.T, o *xform.Optimizer, catalog cat.Catalog, evalCtx *tree.EvalContext, sql string,
)

BuildQuery initializes an optimizer and builds the given sql statement.

func GetTestFiles Uses

func GetTestFiles(tb testing.TB, testdataGlob string) []string

GetTestFiles returns the set of test files that matches the Glob pattern.

Directories

PathSynopsis
opttester
testcat
testexpr

Package testutils imports 8 packages (graph). Updated 2020-07-11. Refresh now. Tools for package owners.