Documentation ¶
Index ¶
- type GlobalTestSuite
- type Option
- func WithContextTimeoutSuiteOption(timeout time.Duration) Option
- func WithDockerSetupSuiteOption(containersInit ...docker.ContainerOption) Option
- func WithLoggerSuiteOption(logger log.Logger) Option
- func WithServiceSetupSuiteOption(servicePorts []string, serviceInits ...service_test.ServiceInit) Option
- func WithSetupFunctionSuiteOption(setupFunction func() error) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalTestSuite ¶
func NewGlobalTestSuite ¶
func NewGlobalTestSuite(t *testing.T, opts ...Option) *GlobalTestSuite
func (*GlobalTestSuite) Containers ¶
func (s *GlobalTestSuite) Containers() []testcontainers.Container
func (*GlobalTestSuite) Context ¶
func (s *GlobalTestSuite) Context() context.Context
func (*GlobalTestSuite) Logger ¶
func (s *GlobalTestSuite) Logger() log.Logger
func (*GlobalTestSuite) Services ¶
func (s *GlobalTestSuite) Services() []service.Service
func (*GlobalTestSuite) SetupSuite ¶
func (s *GlobalTestSuite) SetupSuite()
func (*GlobalTestSuite) TearDownSuite ¶
func (s *GlobalTestSuite) TearDownSuite()
type Option ¶
type Option func(suite *GlobalTestSuite) error
func WithDockerSetupSuiteOption ¶
func WithDockerSetupSuiteOption(containersInit ...docker.ContainerOption) Option
func WithLoggerSuiteOption ¶
func WithServiceSetupSuiteOption ¶
func WithServiceSetupSuiteOption( servicePorts []string, serviceInits ...service_test.ServiceInit, ) Option
Click to show internal directories.
Click to hide internal directories.