testutil

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2025 License: Apache-2.0, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestConfig added in v0.0.12

func NewTestConfig(t *testing.T, opts ...TestConfigOption) app.AppConfig

NewTestConfig creates a new test config with sensible defaults This follows the functional options pattern for easy customization

Types

type TestConfigOption added in v0.0.12

type TestConfigOption func(*testing.T, *app.AppConfig)

TestConfigOption is a function that modifies a test config

func WithSigner added in v0.0.12

func WithSigner(signer principal.Signer) TestConfigOption

WithSigner sets the identity signer

func WithUploadServiceURL added in v0.0.12

func WithUploadServiceURL(uploadURL *url.URL) TestConfigOption

WithUploadServiceURL sets the upload service URL

Jump to

Keyboard shortcuts

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