Documentation
¶
Overview ¶
Package testutil provides global testing helper functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadSchema ¶ added in v0.38.0
func LoadSchema(t *testing.T, path string) fs.ReadFileFS
LoadSchema returns the schema file as a FS.
func SetupInMemoryRegistry ¶ added in v0.38.2
SetupInMemoryRegistry sets up an in-memory registry on localhost and returns the address.
func SetupInMemoryRegistryWithAuth ¶ added in v0.59.0
func SetupInMemoryRegistryWithAuth(ctx context.Context, t *testing.T, port int, htpassword string) string
SetupInMemoryRegistryWithAuth sets up an in-memory registry on localhost and returns the address. If the parameter `htpassword` is not empty, the registry will use that as the auth for accessing it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.