internal

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigurationWithDefaults

func NewConfigurationWithDefaults(t testing.TB) *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.TB, dsn string) (*config.Config, *driver.RegistryDefault)

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

func NewVeryFastRegistryWithoutDB added in v0.13.0

func NewVeryFastRegistryWithoutDB(t *testing.T) (*config.Config, *driver.RegistryDefault)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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