internal

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigurationWithDefaults

func NewConfigurationWithDefaults(t *testing.T) *config.Config

func NewFastRegistryWithMocks

func NewFastRegistryWithMocks(t *testing.T) (*config.Config, *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) (*config.Config, *driver.RegistryDefault)

NewRegistryDefaultWithDSN returns a more standard registry without mocks. Good for e2e and advanced integration testing!

Types

This section is empty.

Directories

Path Synopsis
nolint nolint nolint
nolint nolint nolint

Jump to

Keyboard shortcuts

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