stdriverprotest

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: MIT Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

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