Documentation ¶
Index ¶
- func NewConfigurationWithDefaults(t testing.TB) *config.Config
- func NewFastRegistryWithMocks(t *testing.T) (*config.Config, *driver.RegistryDefault)
- func NewRegistryDefaultWithDSN(t testing.TB, dsn string) (*config.Config, *driver.RegistryDefault)
- func NewVeryFastRegistryWithoutDB(t *testing.T) (*config.Config, *driver.RegistryDefault)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFastRegistryWithMocks ¶
NewFastRegistryWithMocks returns a registry with several mocks and an SQLite in memory database that make testing easier and way faster. This suite does not work for e2e or advanced integration tests.
func NewRegistryDefaultWithDSN ¶
NewRegistryDefaultWithDSN returns a more standard registry without mocks. Good for e2e and advanced integration testing!
func NewVeryFastRegistryWithoutDB ¶ added in v0.13.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.