Documentation
¶
Index ¶
- Variables
- func RunAccountHappyPath(t *testing.T, tc TestConfig, testEthURL, chainName string)
- func RunHappyPath1Workflow(t *testing.T, tc TestConfig)
- func RunHappyPath2Workflow(t *testing.T, tc TestConfig)
- func RunSecretsHappyPath(t *testing.T, tc TestConfig, chainName string)
- func RunSimulationHappyPath(t *testing.T, tc TestConfig)
- func StripANSI(s string) string
- type TestConfig
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 without autostart -> Deploy update with config
func RunSecretsHappyPath ¶
func RunSecretsHappyPath(t *testing.T, tc TestConfig, chainName string)
RunSecretsHappyPath runs the complete secrets happy path workflow: Create -> Update -> List -> Delete
func RunSimulationHappyPath ¶
func RunSimulationHappyPath(t *testing.T, tc TestConfig)
Simulates a workflow
Types ¶
type TestConfig ¶
TestConfig represents test configuration
Click to show internal directories.
Click to hide internal directories.