behaviourtest

package
v0.56.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package behaviourtest is the public entry point for running Gherkin behaviour tests against fullsend.

Call RunSuite from a test file built with the `behaviour` tag. The in-repo runner (e2e/behaviour/suite_test.go) and external consumers such as fullsend-ai/agents share this API. Driver selection, org acquisition, concurrency, and step registration are handled internally from the same environment variables as the in-repo suite.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SuiteOptions

type SuiteOptions struct {
	// FeaturePaths are godog feature file or directory paths, relative
	// to the test working directory (the test package when invoked via
	// `go test ./...`).
	FeaturePaths []string

	// FixturesRoot is the module-relative directory that contains
	// fixtures/ (e.g. "e2e/behaviour" in this repo, "behaviour" in
	// fullsend-ai/agents).
	FixturesRoot string
}

SuiteOptions configures RunSuite. The surface is intentionally narrow: feature paths and fixture root differ per consumer, while driver selection, tags, and concurrency continue to come from environment variables (BEHAVIOUR_SCM, BEHAVIOUR_CI, ENVIRONMENT, GODOG_TAGS, GODOG_CONCURRENCY, and the rest of the existing runner config).

Directories

Path Synopsis
drivers
ci
env
install
Package install provides pool-repo lifecycle management for behaviour tests: cross-org repo slot leasing (slotpool.go), per-org mint deployment, fullsend installation, and teardown.
Package install provides pool-repo lifecycle management for behaviour tests: cross-org repo slot leasing (slotpool.go), per-org mint deployment, fullsend installation, and teardown.
jiramock
Package jiramock provides a stateful mock Jira REST API server for behaviour tests.
Package jiramock provides a stateful mock Jira REST API server for behaviour tests.
scm
Package failclass classifies behaviour-suite failure errors as infrastructure (environment) or scenario (assertion) failures.
Package failclass classifies behaviour-suite failure errors as infrastructure (environment) or scenario (assertion) failures.
Package retryselect chooses which feature paths a retried behaviour run executes.
Package retryselect chooses which feature paths a retried behaviour run executes.

Jump to

Keyboard shortcuts

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