Documentation ¶
Index ¶
- func TestBackend(t *testing.T, tester Tester)
- type BackendTestSuite
- func (s *BackendTestSuite) SetupTest()
- func (s *BackendTestSuite) TearDownTest()
- func (s *BackendTestSuite) TestTester()
- func (s *BackendTestSuite) Test_CompleteWorkflowTask_AddsNewEventsToHistory()
- func (s *BackendTestSuite) Test_CompleteWorkflowTask_ReturnsErrorIfNotLocked()
- func (s *BackendTestSuite) Test_CreateWorkflowInstance_DoesNotError()
- func (s *BackendTestSuite) Test_CreateWorkflowInstance_SameInstanceIDErrors()
- func (s *BackendTestSuite) Test_GetActivityTask_ReturnNilWhenTimeout()
- func (s *BackendTestSuite) Test_GetWorkflowTask_LocksTask()
- func (s *BackendTestSuite) Test_GetWorkflowTask_ReturnsNilWhenTimeout()
- func (s *BackendTestSuite) Test_GetWorkflowTask_ReturnsTask()
- type Tester
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestBackend ¶
Types ¶
type BackendTestSuite ¶
type BackendTestSuite struct { suite.Suite *require.Assertions Tester Tester // contains filtered or unexported fields }
func (*BackendTestSuite) SetupTest ¶
func (s *BackendTestSuite) SetupTest()
func (*BackendTestSuite) TearDownTest ¶
func (s *BackendTestSuite) TearDownTest()
func (*BackendTestSuite) TestTester ¶
func (s *BackendTestSuite) TestTester()
func (*BackendTestSuite) Test_CompleteWorkflowTask_AddsNewEventsToHistory ¶
func (s *BackendTestSuite) Test_CompleteWorkflowTask_AddsNewEventsToHistory()
func (*BackendTestSuite) Test_CompleteWorkflowTask_ReturnsErrorIfNotLocked ¶
func (s *BackendTestSuite) Test_CompleteWorkflowTask_ReturnsErrorIfNotLocked()
func (*BackendTestSuite) Test_CreateWorkflowInstance_DoesNotError ¶
func (s *BackendTestSuite) Test_CreateWorkflowInstance_DoesNotError()
func (*BackendTestSuite) Test_CreateWorkflowInstance_SameInstanceIDErrors ¶ added in v0.0.5
func (s *BackendTestSuite) Test_CreateWorkflowInstance_SameInstanceIDErrors()
func (*BackendTestSuite) Test_GetActivityTask_ReturnNilWhenTimeout ¶
func (s *BackendTestSuite) Test_GetActivityTask_ReturnNilWhenTimeout()
func (*BackendTestSuite) Test_GetWorkflowTask_LocksTask ¶
func (s *BackendTestSuite) Test_GetWorkflowTask_LocksTask()
func (*BackendTestSuite) Test_GetWorkflowTask_ReturnsNilWhenTimeout ¶
func (s *BackendTestSuite) Test_GetWorkflowTask_ReturnsNilWhenTimeout()
func (*BackendTestSuite) Test_GetWorkflowTask_ReturnsTask ¶
func (s *BackendTestSuite) Test_GetWorkflowTask_ReturnsTask()
Click to show internal directories.
Click to hide internal directories.