Documentation
¶
Overview ¶
Package stdriverprotest waits, in tests, for the workflows that River Pro's clients (package stdriverprofx) work, as package stdrivertest does for jobs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequireWorkflowCompleted ¶
func RequireWorkflowCompleted(tb testing.TB, client *stdriverprofx.Client, id string) *riverpro.WorkflowTasks
RequireWorkflowCompleted waits until every task of the workflow with id is finalized, as Workflow does, and requires that they all completed. Otherwise it fails with each task that did not, its state, and the errors of its attempts. It returns the tasks as client reads them.
func Workflow ¶
func Workflow(tb testing.TB, client *stdriverprofx.Client, id string) *riverpro.WorkflowTasks
Workflow waits until every task of the workflow with id is finalized. It returns the tasks as client reads them.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.