testutils

package
v0.0.0-...-43a04ef Latest Latest
Warning

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

Go to latest
Published: May 8, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TargetDir                   = "./target"
	ZipFilePattern              = "thunder-*.zip"
	ExtractedDir                = "./target/.test"
	ServerBinary                = "thunder"
	TestDeploymentYamlPath      = "./tests/integration/resources/deployment.yaml"
	TestDatabaseSchemaDirectory = "./tests/integration/resources/dbscripts"
	InitScriptPath              = "./scripts/init_script.sh"
	DatabaseFileBasePath        = "repository/database/"
	DatabaseSchemaFile          = "dbscripts/thunderdb/sqlite.sql"
)

Variables

This section is empty.

Functions

func ReplaceResources

func ReplaceResources() error

func RunInitScript

func RunInitScript() error

func StartServer

func StartServer(port string) (*exec.Cmd, error)

func StopServer

func StopServer(cmd *exec.Cmd)

func UnzipProduct

func UnzipProduct() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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