test

package
v0.0.1-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetUp

func SetUp(handlers []ITestHandler)

func TearDown

func TearDown(handlers []ITestHandler)

Types

type ITestHandler

type ITestHandler interface {
	SetUp()
	TearDown()
	GetHandlerName() string
}

type PostgresTestHandler

type PostgresTestHandler struct {
	// contains filtered or unexported fields
}

func DefaultPostgresTestHandler

func DefaultPostgresTestHandler() *PostgresTestHandler

PostgresTestHandler is a test handler for postgres

func (PostgresTestHandler) GetHandlerName

func (p PostgresTestHandler) GetHandlerName() string

func (*PostgresTestHandler) SetUp

func (p *PostgresTestHandler) SetUp()

func (*PostgresTestHandler) TearDown

func (p *PostgresTestHandler) TearDown()

Jump to

Keyboard shortcuts

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