asynctest

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package asynctest contains reusable async store contract tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertStoreContract

func AssertStoreContract(t testing.TB, newStore StoreFactory)

AssertStoreContract verifies behavior shared by async store implementations.

Types

type StoreFactory

type StoreFactory func(t testing.TB) async.Store

StoreFactory constructs a fresh async store for one contract test run.

The returned store must have at least one due job available for Lease.

Jump to

Keyboard shortcuts

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