env

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RunnerConfig

type RunnerConfig struct {
	SCM         string
	CI          string
	InstallMode string

	// Capabilities lists environment capabilities the runner declares,
	// from the comma-separated BEHAVIOUR_CAPABILITIES env var. Scenarios
	// tagged @requires:capability:<name> are skipped unless <name> is
	// declared — the gate for coverage of behavior that only exists past
	// a certain dependency version (e.g. an agents-repo release).
	Capabilities []string
}

RunnerConfig holds behaviour test runner configuration from environment.

func LoadRunnerConfig

func LoadRunnerConfig() RunnerConfig

func (RunnerConfig) HasCapability added in v0.35.1

func (c RunnerConfig) HasCapability(name string) bool

HasCapability reports whether the runner declared the named capability.

func (RunnerConfig) Validate

func (c RunnerConfig) Validate() error

Jump to

Keyboard shortcuts

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