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
Click to show internal directories.
Click to hide internal directories.