test

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupDatabaseClient

func SetupDatabaseClient(dbName string) *storage.DatabaseClient

func SetupLogger

func SetupLogger() *slog.Logger

Types

type IntegrationSuite

type IntegrationSuite struct {
	suite.Suite
	helpers.TableHelper
	helpers.OperationHelper

	Client *storage.DatabaseClient
	Logger *slog.Logger
}

func (*IntegrationSuite) GetSuiteName

func (suite *IntegrationSuite) GetSuiteName(customSuite any) string

func (*IntegrationSuite) SetupSuite

func (suite *IntegrationSuite) SetupSuite()

func (*IntegrationSuite) TearDownSuite

func (suite *IntegrationSuite) TearDownSuite()

func (*IntegrationSuite) WithTable

func (suite *IntegrationSuite) WithTable(tableName string, tableDef string, db storage.Database, testFn func(db storage.Database))

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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