suite

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	testify_suite.Suite
	*State
	Connector *server.Embedded
	// contains filtered or unexported fields
}

func NewBase

func NewBase(t *testing.T, state *State, name string) *Base

func (*Base) BeforeSuite

func (b *Base) BeforeSuite(_ string)

func (*Base) BeforeTest

func (b *Base) BeforeTest(_, testName string)

func (*Base) SetupSuite

func (b *Base) SetupSuite()

func (*Base) TearDownSuite

func (b *Base) TearDownSuite()

func (*Base) TearDownTest

func (b *Base) TearDownTest()

func (*Base) ValidateTable

func (b *Base) ValidateTable(ds *datasource.DataSource, table *datasource.Table, customOptions ...ValidateTableOption)

type State

type State struct {
	EndpointDeterminer *docker_compose.EndpointDeterminer
}

Global-scope services and objects that will be accessible from every test suite during the testing lifecycle

func NewState

func NewState() (*State, error)

type ValidateTableOption

type ValidateTableOption interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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