suite

package
v0.2.19 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestInvalidLogin added in v0.2.14

func TestInvalidLogin(s *Base, dsiSrc *api_common.TDataSourceInstance, table *datasource.Table)

func TestInvalidPassword added in v0.2.14

func TestInvalidPassword(s *Base, dsiSrc *api_common.TDataSourceInstance, table *datasource.Table)

func TestMissingDataSource added in v0.2.13

func TestMissingDataSource(s *Base, dsi *api_common.TDataSourceInstance)

func TestPositiveStats added in v0.2.13

func TestPositiveStats(s *Base, dataSource *datasource.DataSource, table *datasource.Table)

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