testutil

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package testutil provides helper functions for testing.

Package testutil provides helper functions for testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadAWSClient added in v0.8.0

func LoadAWSClient(ctx context.Context, accessKey, secretKey string) (*s3.Client, error)

func RequireActionContinue

func RequireActionContinue(t *testing.T, state multistep.StateBag, action multistep.StepAction)

func RequireActionHalt

func RequireActionHalt(t *testing.T, state multistep.StateBag, action multistep.StepAction)

func RequireGeneratedDataGet

func RequireGeneratedDataGet(t *testing.T, state multistep.StateBag, key string, expected any)

func RequireStateGet

func RequireStateGet(t *testing.T, state multistep.StateBag, key string, expected any)

func RequireStateGets

func RequireStateGets(t *testing.T, state multistep.StateBag, kv map[string]any)

func RequireStateNotSet

func RequireStateNotSet(t *testing.T, state multistep.StateBag, key string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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