Documentation ¶
Index ¶
- Variables
- func GetProjectRoot() string
- func RandStringBytes(n int) string
- func ResetDatabaseEnv(t *testing.T)
- func SetupPostgres(ctx context.Context, t *testing.T) testcontainers.Container
- func ShutdownContainer(ctx context.Context, t *testing.T, container testcontainers.Container)
- type GeneratedContainerReport
- type PostgresContainer
Constants ¶
This section is empty.
Variables ¶
View Source
var ProjectRootPattern = regexp.MustCompile(`^(.*aws-weather-updater).*`)
View Source
var TestDataPath = path.Join(GetProjectRoot(), "test", "data")
Functions ¶
func GetProjectRoot ¶
func GetProjectRoot() string
func RandStringBytes ¶
func ResetDatabaseEnv ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.