wfdbtest

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package wfdbtest wraps riverdbtest for river-workflow's own tests.

It exists solely so that riverdbtest derives its Postgres schema name from this package ("wfdbtest") rather than from the module's import-path segment ("river-workflow"), whose hyphen is not a valid character in a Postgres schema name.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Schema

func Schema[TTx any](ctx context.Context, tb testutil.TestingTB, driver riverdriver.Driver[TTx]) string

Schema generates an isolated, migrated test schema, delegating to riverdbtest.TestSchema. Calling it from this package keeps the generated schema name hyphen-free.

Types

This section is empty.

Jump to

Keyboard shortcuts

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