Documentation ¶
Index ¶
- func TestInvalidLogin[ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID]](s *Base[ID, IDBUILDER], dsiSrc *api_common.TDataSourceInstance, ...)
- func TestInvalidPassword[ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID]](s *Base[ID, IDBUILDER], dsiSrc *api_common.TDataSourceInstance, ...)
- func TestMissingDataSource[ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID]](s *Base[ID, IDBUILDER], dsi *api_common.TDataSourceInstance)
- func TestPositiveStats[ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID]](s *Base[ID, IDBUILDER], dataSource *datasource.DataSource, ...)
- type Base
- func (b *Base[_, _]) BeforeSuite(_ string)
- func (b *Base[_, _]) BeforeTest(_, testName string)
- func (b *Base[_, _]) SetupSuite()
- func (b *Base[_, _]) TearDownSuite()
- func (b *Base[_, _]) TearDownTest()
- func (b *Base[ID, IDBUILDER]) ValidateTable(ds *datasource.DataSource, table *test_utils.Table[ID, IDBUILDER], ...)
- type State
- type ValidateTableOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestInvalidLogin ¶ added in v0.2.14
func TestInvalidLogin[ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID]]( s *Base[ID, IDBUILDER], dsiSrc *api_common.TDataSourceInstance, table *test_utils.Table[ID, IDBUILDER], )
func TestInvalidPassword ¶ added in v0.2.14
func TestInvalidPassword[ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID]]( s *Base[ID, IDBUILDER], dsiSrc *api_common.TDataSourceInstance, table *test_utils.Table[ID, IDBUILDER], )
func TestMissingDataSource ¶ added in v0.2.13
func TestMissingDataSource[ ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID], ](s *Base[ID, IDBUILDER], dsi *api_common.TDataSourceInstance)
func TestPositiveStats ¶ added in v0.2.13
func TestPositiveStats[ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID]]( s *Base[ID, IDBUILDER], dataSource *datasource.DataSource, table *test_utils.Table[ID, IDBUILDER], )
Types ¶
type Base ¶
type Base[ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID]] struct { testify_suite.Suite *State Connector common.TestingServer // contains filtered or unexported fields }
func NewBase ¶
func NewBase[ ID test_utils.TableIDTypes, IDBUILDER test_utils.ArrowIDBuilder[ID], ](t *testing.T, state *State, name string) *Base[ID, IDBUILDER]
func (*Base[_, _]) BeforeSuite ¶
func (*Base[_, _]) BeforeTest ¶
func (*Base[_, _]) SetupSuite ¶
func (b *Base[_, _]) SetupSuite()
func (*Base[_, _]) TearDownSuite ¶
func (b *Base[_, _]) TearDownSuite()
func (*Base[_, _]) TearDownTest ¶
func (b *Base[_, _]) TearDownTest()
func (*Base[ID, IDBUILDER]) ValidateTable ¶
func (b *Base[ID, IDBUILDER]) ValidateTable( ds *datasource.DataSource, table *test_utils.Table[ID, IDBUILDER], 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
type ValidateTableOption ¶
type ValidateTableOption interface {
// contains filtered or unexported methods
}
func WithDateTimeFormat ¶
func WithDateTimeFormat(val api_service_protos.EDateTimeFormat) ValidateTableOption
func WithPredicate ¶
func WithPredicate(val *api_service_protos.TPredicate) ValidateTableOption
Click to show internal directories.
Click to hide internal directories.