Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEVELOPMENT_ENVIRONMENT_PATH string = "../../../development-environment" DATABASE_ENVIRONMENT_PATH string = DEVELOPMENT_ENVIRONMENT_PATH + "/database/" REST_ENVIRONMENT_PATH string = DEVELOPMENT_ENVIRONMENT_PATH + "/rest/" LOCALSTACK_ENVIRONMENT_PATH string = DEVELOPMENT_ENVIRONMENT_PATH + "/localstack/" WIREMOCK_ENVIRONMENT_PATH string = DEVELOPMENT_ENVIRONMENT_PATH + "/wiremock/" )
Variables ¶
This section is empty.
Functions ¶
func InitializeBaseTest ¶
func InitializeBaseTest()
func InitializeCacheDBTest ¶
func InitializeCacheDBTest()
func InitializeSqlDBTest ¶
func InitializeSqlDBTest()
func InitializeTestLocalstack ¶
func InitializeTestLocalstack(path ...string)
func MountAbsolutPath ¶
Types ¶
type LocalstackContainer ¶
type LocalstackContainer struct {
// contains filtered or unexported fields
}
func UseLocalstackContainer ¶
func UseLocalstackContainer(ctx context.Context, configPath string) *LocalstackContainer
type PostgresContainer ¶
type PostgresContainer struct {
// contains filtered or unexported fields
}
func UsePostgresContainer ¶
func UsePostgresContainer() *PostgresContainer
UsePostgresContainer initialize postgres container for integration tests.
type RedisContainer ¶
type RedisContainer struct {
// contains filtered or unexported fields
}
func UseRedisContainer ¶
func UseRedisContainer() *RedisContainer
type WiremockContainer ¶
type WiremockContainer struct {
// contains filtered or unexported fields
}
func UseWiremockContainer ¶
func UseWiremockContainer(configPath string) *WiremockContainer
func (*WiremockContainer) Port ¶
func (c *WiremockContainer) Port() int
Click to show internal directories.
Click to hide internal directories.