cadence: go.uber.org/cadence/testsuite Index | Files

package testsuite

import "go.uber.org/cadence/testsuite"

Package testsuite contains unit testing framework for Cadence workflows and activities.

Index

Package Files

testsuite.go

Variables

var ErrMockStartChildWorkflowFailed = internal.ErrMockStartChildWorkflowFailed

ErrMockStartChildWorkflowFailed is special error used to indicate the mocked child workflow should fail to start.

type MockCallWrapper Uses

type MockCallWrapper = internal.MockCallWrapper

MockCallWrapper is a wrapper to mock.Call. It offers the ability to wait on workflow's clock instead of wall clock.

type TestActivityEnvironment Uses

type TestActivityEnvironment = internal.TestActivityEnvironment

TestActivityEnvironment is the environment that you use to test activity

type TestWorkflowEnvironment Uses

type TestWorkflowEnvironment = internal.TestWorkflowEnvironment

TestWorkflowEnvironment is the environment that you use to test workflow

type WorkflowTestSuite Uses

type WorkflowTestSuite = internal.WorkflowTestSuite

WorkflowTestSuite is the test suite to run unit tests for workflow/activity.

Package testsuite imports 1 packages (graph). Updated 2018-04-26. Refresh now. Tools for package owners.