tests

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ENV_ENABLE_UNIT_TESTS        = "AIGENT_TEST_UNIT"
	ENV_ENABLE_INTEGRATION_TESTS = "AIGENT_TEST_INTEGRATION"
	ENV_ENABLE_ACCEPTANCE_TESTS  = "AIGENT_TEST_ACCEPTANCE"
)

Variables

This section is empty.

Functions

func DoIfEnvVarNotSet

func DoIfEnvVarNotSet(t *testing.T, key string, f func(t *testing.T, key string)) string

func DoIfEnvVarSet

func DoIfEnvVarSet(t *testing.T, key string, f func(t *testing.T, key string)) string

func RequireEnvVar

func RequireEnvVar(t *testing.T, key string) string

func SkipIfEnvVarNotSet

func SkipIfEnvVarNotSet(t *testing.T, key string)

func SkipIfEnvVarSet

func SkipIfEnvVarSet(t *testing.T, key string)

func SkipIfNotAcceptance

func SkipIfNotAcceptance(t *testing.T)

func SkipIfNotIntegration

func SkipIfNotIntegration(t *testing.T)

func SkipIfNotUnit

func SkipIfNotUnit(t *testing.T)

Types

This section is empty.

Jump to

Keyboard shortcuts

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