testhelpers

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2025 License: MIT Imports: 11 Imported by: 0

README

This package is used to allow consistent testing across the SDK for:

  • SDK implementation in testutils
  • SDK implementation in WASM (aside from the host callbacks)
  • The host Module struct

Though the host test is sufficient to test the WASM SDK, it would be unclear if the error is in the guest or host.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunIdenticalTriggersWorkflow

func RunIdenticalTriggersWorkflow(runner sdk.Runner[string])

func RunTestSecretsWorkflow

func RunTestSecretsWorkflow(runner sdk.Runner[string])

func RunTestWorkflow

func RunTestWorkflow(runner sdk.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

This section is empty.

Jump to

Keyboard shortcuts

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