multi_command_flows

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: MIT Imports: 34 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CLIPath = os.TempDir() + string(os.PathSeparator) + "cre" + func() string {
	if os.PathSeparator == '\\' {
		return ".exe"
	}
	return ""
}()

CLI path for testing

Functions

func RunAccountHappyPath

func RunAccountHappyPath(t *testing.T, tc TestConfig, testEthURL, chainName string)

RunAccountHappyPath runs the complete account happy path workflow: Link -> List -> Unlink -> List (verify unlinked)

func RunHappyPath1Workflow

func RunHappyPath1Workflow(t *testing.T, tc TestConfig)

RunHappyPath1Workflow runs the complete happy path 1 workflow: Deploy -> Pause -> Activate -> Delete

func RunHappyPath2Workflow

func RunHappyPath2Workflow(t *testing.T, tc TestConfig)

RunHappyPath2Workflow runs the complete happy path 2 workflow: Deploy -> Deploy update with config

func RunHappyPath3aWorkflow

func RunHappyPath3aWorkflow(t *testing.T, tc TestConfig, projectName, ownerAddress, ethUrl string)

RunHappyPath3aWorkflow runs happy path 3a: Init → Deploy with unlinked key (tests auto-link initiation) This test validates the auto-link flow is triggered but uses --unsigned to avoid contract verification

func RunHappyPath3bWorkflow

func RunHappyPath3bWorkflow(t *testing.T, tc TestConfig)

RunHappyPath3bWorkflow runs happy path 3b: Deploy with linked key + config This test validates successful deployment with config when the key is already linked Note: The workflow directory is created with config-path already set by createWorkflowDirectory

func RunSecretsHappyPath

func RunSecretsHappyPath(t *testing.T, tc TestConfig, chainName string)

RunSecretsHappyPath runs the complete secrets happy path workflow: Create -> Update -> List -> Delete

func RunSecretsListMsig

func RunSecretsListMsig(t *testing.T, tc TestConfig, chainName string)

RunSecretsListMsig on unsigned

func RunSimulationHappyPath

func RunSimulationHappyPath(t *testing.T, tc TestConfig, projectDir string)

Simulates a workflow

func StripANSI

func StripANSI(s string) string

StripANSI strips the ANSI escape codes from the output

Types

type TestConfig

type TestConfig interface {
	GetCliEnvFlag() string
	GetProjectRootFlag() string
}

TestConfig represents test configuration

Jump to

Keyboard shortcuts

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