queuetest

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package queuetest is a conformance suite for queue stores. Each store runs it:

func TestStore(t *testing.T) {
	queuetest.Run(t, func(t *testing.T) queue.Store { return newStore(t) })
}

newStore returns an empty store for each test: no jobs, and no failed jobs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, newStore func(t *testing.T) queue.Store)

Run runs the suite against the stores newStore returns.

Types

This section is empty.

Jump to

Keyboard shortcuts

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