Help us shape the future of Go! Take the 2026 Go Developer Survey

stdenttest

package
v0.0.242 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 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