testutil

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2026 License: MIT Imports: 6 Imported by: 0

README

internal/util/testutil

Pattern used

  • Test-only helpers keep integration setup consistent without entering production code.
  • Explicit shell variables take precedence over values in a local .env file.

How to extend

  • Keep helpers deterministic and scoped to the calling test.
  • Do not put production configuration loading in this package.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SkipUnlessEnv

func SkipUnlessEnv(t testing.TB, keys ...string)

SkipUnlessEnv skips when any required key is unset after loading a nearby .env file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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