testenv

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package testenv provides shared environment loading for the knowledge e2e integration tests. A near-identical copy lives at sdkx/internal/testenv; both are intentionally tiny and independent because they sit in different "internal" trees and can't share code without breaking the package boundaries that justify either copy.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load()

Load reads a repo-root `.env` file into the process environment. The lookup walks up from the test's working directory so it works regardless of which package directory `go test` is invoked from. Existing env vars are never overwritten. Idempotent and concurrency safe.

Types

This section is empty.

Jump to

Keyboard shortcuts

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