Versions in this module Expand all Collapse all v0 v0.1.0 Sep 22, 2025 Changes in this version + func AssertBeginError(t *testing.T, ctx context.Context, beginner tx.Beginner, txOpts *sql.TxOptions, ...) + func AssertSQLTransactionLevel(t *testing.T, exec Executor, expectedIsolationLevel string, readOnly bool) + func AssertTxCommit(t *testing.T, beginner tx.Beginner, exec Executor, tx tx.Tx, ...) + func AssertTxRollback(t *testing.T, beginner tx.Beginner, exec Executor, tx tx.Tx, ...) + func AssertUserExists(t *testing.T, exec Executor, userID uuid.UUID, userAge int, opts ...Option) + func AssertUserNotFound(t *testing.T, exec Executor, userID uuid.UUID, opts ...Option) + func WithQuestionMarkPlaceholder(opts *txTestOptions) + type Executor interface + ExecContext func(ctx context.Context, query string, args ...any) (sql.Result, error) + QueryRowContext func(ctx context.Context, query string, args ...any) *sql.Row + type Option func(*txTestOptions) v0.0.13 Aug 27, 2025