Documentation
¶
Index ¶
- 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
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertBeginError ¶
func AssertTxCommit ¶
func AssertTxRollback ¶
func AssertUserExists ¶
func AssertUserNotFound ¶
func WithQuestionMarkPlaceholder ¶
func WithQuestionMarkPlaceholder(opts *txTestOptions)
Types ¶
Click to show internal directories.
Click to hide internal directories.