integrationtest

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteStatements

func ExecuteStatements(t *testing.T, c sqlconnect.DB, schema, path string)

func GenerateTestSchema

func GenerateTestSchema(formatfn func(string) string) string

func ReadSQLStatements

func ReadSQLStatements(t *testing.T, schema, path string) []string

func TestDatabaseScenarios

func TestDatabaseScenarios(t *testing.T, warehouse string, configJSON json.RawMessage, formatfn func(string) string, opts Options)

func TestSshTunnelScenarios added in v1.1.0

func TestSshTunnelScenarios(t *testing.T, warehouse string, configJSON json.RawMessage)

Types

type Options

type Options struct {
	// LegacySupport enables the use of legacy column mappings
	LegacySupport bool

	IncludesViewsInListTables bool
}

Jump to

Keyboard shortcuts

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