suite

package
v0.0.0-...-35a4376 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GlobalTestSuite

type GlobalTestSuite struct {
	suite.Suite
	// contains filtered or unexported fields
}

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 WithContextTimeoutSuiteOption

func WithContextTimeoutSuiteOption(timeout time.Duration) Option

func WithDockerSetupSuiteOption

func WithDockerSetupSuiteOption(containersInit ...docker.ContainerOption) Option

func WithLoggerSuiteOption

func WithLoggerSuiteOption(logger log.Logger) Option

func WithServiceSetupSuiteOption

func WithServiceSetupSuiteOption(
	servicePorts []string,
	serviceInits ...service_test.ServiceInit,
) Option

func WithSetupFunctionSuiteOption

func WithSetupFunctionSuiteOption(setupFunction func() error) Option

Jump to

Keyboard shortcuts

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