stdenttest

package
v0.0.148 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package stdenttest is a utility for writing tests on ent transaction.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Test

func Test[T stdent.Tx](
	ctx context.Context,
	tb testing.TB,
	txr *stdent.Transactor[T],
	fnc func(ctx context.Context, tx T),
)

Test is a utility method for testing code run in a transaction.

Types

This section is empty.

Jump to

Keyboard shortcuts

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