Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigurationWithDefaults ¶
func NewConfigurationWithDefaults() *configuration.ViperProvider
func NewFastRegistryWithMocks ¶
func NewFastRegistryWithMocks(t *testing.T) (*configuration.ViperProvider, *driver.RegistryDefault)
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 ¶
func NewRegistryDefaultWithDSN(t *testing.T, dsn string) (*configuration.ViperProvider, *driver.RegistryDefault)
NewRegistryDefaultWithDSN returns a more standard registry without mocks. Good for e2e and advanced integration testing!
func RegisterFakes ¶
func RegisterFakes()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.