Help us shape the future of Go! Take the 2026 Go Developer Survey

integrationtest

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: MIT Imports: 27 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

	SpecialCharactersInQuotedTable string // special characters to test in quoted table identifiers (default: <space>,",',“)

	ExtraTests func(t *testing.T, db sqlconnect.DB)
}

Jump to

Keyboard shortcuts

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