tests

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaseShowTableCount

func CaseShowTableCount(t *testing.T, db *gorm.DB)

func CaseShowVersionNum

func CaseShowVersionNum(t *testing.T, migration *migrate.Migrate)

func CaseShowVersionNumAndTables added in v0.0.10

func CaseShowVersionNumAndTables(t *testing.T, migration *migrate.Migrate, db *gorm.DB)

func RequireHasTable

func RequireHasTable(t *testing.T, db *gorm.DB, tableName string)

func RequireHasTables

func RequireHasTables(t *testing.T, db *gorm.DB, tableNames []string)

func RequireNotTable

func RequireNotTable(t *testing.T, db *gorm.DB, tableName string)

func ShowSourceContent added in v0.0.11

func ShowSourceContent(t *testing.T, sourceInstance source.Driver, version uint, direction source.Direction)

Types

type LoggerDebug

type LoggerDebug struct{}

func (*LoggerDebug) Printf

func (l *LoggerDebug) Printf(format string, values ...interface{})

func (*LoggerDebug) Verbose

func (l *LoggerDebug) Verbose() bool

Jump to

Keyboard shortcuts

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