testutils

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunIdenticalTriggersWorkflow

func RunIdenticalTriggersWorkflow(runner cre.Runner[string])

func RunTestSecretsWorkflow

func RunTestSecretsWorkflow(runner cre.Runner[string])

func RunTestWorkflow

func RunTestWorkflow(runner cre.Runner[string])

func SetupExpectedCalls

func SetupExpectedCalls(t *testing.T)

func TestWorkflowExpectedResult

func TestWorkflowExpectedResult() string

func TestWorkflowTrigger

func TestWorkflowTrigger() *basictrigger.Outputs

func TestWorkflowTriggerConfig

func TestWorkflowTriggerConfig() *basictrigger.Config

Types

type TestRuntime

type TestRuntime struct {
	sdkimpl.Runtime
	// contains filtered or unexported fields
}

func NewRuntime added in v0.5.0

func NewRuntime(tb testing.TB, secrets map[string]string) *TestRuntime

func (*TestRuntime) GetLogs

func (t *TestRuntime) GetLogs() [][]byte

func (*TestRuntime) SetNodeRandomSource

func (t *TestRuntime) SetNodeRandomSource(source rand.Source)

func (*TestRuntime) SetRandomSource

func (t *TestRuntime) SetRandomSource(source rand.Source)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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