tests

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllScenarios

func AllScenarios() []*harness.Scenario

AllScenarios returns all test scenarios for grove-meta

func ChangelogHashTrackingScenario

func ChangelogHashTrackingScenario() *harness.Scenario

ChangelogHashTrackingScenario tests the changelog hash tracking functionality

func ChangelogStateTransitionsScenario

func ChangelogStateTransitionsScenario() *harness.Scenario

ChangelogStateTransitionsScenario tests the state transitions of changelog

func ConventionalCommitsScenario

func ConventionalCommitsScenario() *harness.Scenario

ConventionalCommitsScenario tests the full lifecycle of conventional commits and changelog generation

func DevCwdWorkflow

func DevCwdWorkflow() *harness.Scenario

DevCwdWorkflow tests the primary 'grove dev cwd' workflow.

func DevLinkAndUseWorkflow

func DevLinkAndUseWorkflow() *harness.Scenario

DevLinkAndUseWorkflow tests 'grove dev link' and 'grove dev use'.

func DevListWorkflow

func DevListWorkflow() *harness.Scenario

DevListWorkflow tests 'grove dev list' to show registered dev links.

func DevPointWorkflow

func DevPointWorkflow() *harness.Scenario

DevPointWorkflow tests workspace-specific overrides with 'grove dev point'.

func EcosystemInitAlreadyDiscoverableScenario

func EcosystemInitAlreadyDiscoverableScenario() *harness.Scenario

EcosystemInitAlreadyDiscoverableScenario tests that ecosystems in existing groves are recognized as discoverable without prompting.

func EcosystemInitDeclineAddScenario

func EcosystemInitDeclineAddScenario() *harness.Scenario

EcosystemInitDeclineAddScenario tests declining to add the grove.

func EcosystemInitEditsCorrectFileScenario

func EcosystemInitEditsCorrectFileScenario() *harness.Scenario

EcosystemInitEditsCorrectFileScenario tests that the grove is added to the file where groves are already defined, not creating a new override file.

func EcosystemInitNonInteractiveScenario

func EcosystemInitNonInteractiveScenario() *harness.Scenario

EcosystemInitNonInteractiveScenario tests the non-interactive behavior when not in a TTY (just warns, doesn't prompt).

func EcosystemInitNotDiscoverableScenario

func EcosystemInitNotDiscoverableScenario() *harness.Scenario

EcosystemInitNotDiscoverableScenario tests the TUI prompt flow when an ecosystem is created outside of any configured grove.

func EcosystemInitPreservesConfigScenario

func EcosystemInitPreservesConfigScenario() *harness.Scenario

EcosystemInitPreservesConfigScenario tests that adding a grove preserves existing config.

func LLMChangelogScenario

func LLMChangelogScenario() *harness.Scenario

LLMChangelogScenario tests the LLM-powered changelog generation feature

func PolyglotReleaseScenario

func PolyglotReleaseScenario() *harness.Scenario

PolyglotReleaseScenario tests release process with mixed project types

func ReleaseTUIChangelogDirtyStateScenario

func ReleaseTUIChangelogDirtyStateScenario() *harness.Scenario

ReleaseTUIChangelogDirtyStateScenario tests the TUI's ability to detect a manually modified changelog.

func ReleaseTUIChangelogWorkflowScenario

func ReleaseTUIChangelogWorkflowScenario() *harness.Scenario

ReleaseTUIChangelogWorkflowScenario tests the full TUI workflow for changelogs.

func ReleaseTUIScenario

func ReleaseTUIScenario() *harness.Scenario

ReleaseTUIScenario tests the new interactive release TUI feature

func ReleaseTUISelectionScenario

func ReleaseTUISelectionScenario() *harness.Scenario

ReleaseTUISelectionScenario tests the selection functionality of the interactive release TUI

func RepoGitHubInitDryRunScenario

func RepoGitHubInitDryRunScenario() *harness.Scenario

RepoGitHubInitDryRunScenario tests the dry-run functionality of grove repo github-init

func SetupWizardCLIDefaultsScenario

func SetupWizardCLIDefaultsScenario() *harness.Scenario

SetupWizardCLIDefaultsScenario tests the --defaults flag for non-interactive mode.

func SetupWizardCLIDryRunScenario

func SetupWizardCLIDryRunScenario() *harness.Scenario

SetupWizardCLIDryRunScenario tests the --dry-run flag to ensure no files are created.

func SetupWizardCLIOnlyScenario

func SetupWizardCLIOnlyScenario() *harness.Scenario

SetupWizardCLIOnlyScenario tests the --only flag to filter steps.

func SetupWizardConfigPreservationScenario

func SetupWizardConfigPreservationScenario() *harness.Scenario

SetupWizardConfigPreservationScenario tests that existing config settings are preserved.

func SetupWizardEcosystemFilesScenario

func SetupWizardEcosystemFilesScenario() *harness.Scenario

SetupWizardEcosystemFilesScenario tests that ecosystem setup creates all required files.

func SetupWizardNotebookConfigScenario

func SetupWizardNotebookConfigScenario() *harness.Scenario

SetupWizardNotebookConfigScenario tests that notebook setup updates global config.

func SetupWizardRealBinariesScenario

func SetupWizardRealBinariesScenario() *harness.Scenario

SetupWizardRealBinariesScenario tests that after wizard completes, real grove binaries work with the configuration. This test uses real grove binaries from PATH and is marked explicitOnly.

func SetupWizardTUIComponentSelectionScenario

func SetupWizardTUIComponentSelectionScenario() *harness.Scenario

SetupWizardTUIComponentSelectionScenario tests the TUI component selection screen.

func SetupWizardTUIDeselectAllScenario

func SetupWizardTUIDeselectAllScenario() *harness.Scenario

SetupWizardTUIDeselectAllScenario tests deselecting all components goes directly to summary.

func SetupWizardTUIFullWorkflowScenario

func SetupWizardTUIFullWorkflowScenario() *harness.Scenario

SetupWizardTUIFullWorkflowScenario tests the complete wizard workflow with default values.

func SetupWizardTUINavigationScenario

func SetupWizardTUINavigationScenario() *harness.Scenario

SetupWizardTUINavigationScenario tests forward and backward navigation.

func SetupWizardTUIQuitScenario

func SetupWizardTUIQuitScenario() *harness.Scenario

SetupWizardTUIQuitScenario tests that 'q' quits from any step without creating files.

func SetupWizardTmuxIdempotentScenario

func SetupWizardTmuxIdempotentScenario() *harness.Scenario

SetupWizardTmuxIdempotentScenario tests that tmux config is not duplicated on re-run.

func StreamlinedFailureScenario

func StreamlinedFailureScenario() *harness.Scenario

StreamlinedFailureScenario tests failure handling and rollback

func StreamlinedFullReleaseScenario

func StreamlinedFullReleaseScenario() *harness.Scenario

StreamlinedFullReleaseScenario tests the complete workflow for a full release.

func StreamlinedRCReleaseScenario

func StreamlinedRCReleaseScenario() *harness.Scenario

StreamlinedRCReleaseScenario tests the streamlined release candidate workflow.

func SyncDepsReleaseScenario

func SyncDepsReleaseScenario() *harness.Scenario

SyncDepsReleaseScenario tests the automatic dependency syncing during release.

Types

type ReleasePlan

type ReleasePlan struct {
	Type  string     `json:"type"`
	Repos []RepoInfo `json:"repos"`
}

ReleasePlan represents the structure of a release plan

type RepoInfo

type RepoInfo struct {
	Name     string `json:"name"`
	Selected bool   `json:"selected"`
	Status   string `json:"status"`
	Version  string `json:"version"`
}

RepoInfo represents information about a repository in the release plan

Directories

Path Synopsis
e2e
mocks/src/gh command
mocks/src/git command
mocks/src/go command

Jump to

Keyboard shortcuts

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