Documentation ¶
Index ¶
- func AssertMigrationRecordsTable(conn *sqlx.DB, t *testing.T, mRs []MigrationRecordExpectation)
- func AssertTableDoesNotExist(table string, conn *sqlx.DB, t *testing.T)
- func AssertTableExists(table string, conn *sqlx.DB, t *testing.T)
- func BuildDBConn(t *testing.T) *sqlx.DB
- func DBDriver() string
- func SkipIfIntegrationTestsNotConfigured(expectedEnvVars []string, driverSpecificVars map[string][]string, t *testing.T)
- type MigrationRecordEventExpectation
- type MigrationRecordExpectation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertMigrationRecordsTable ¶
func AssertMigrationRecordsTable(conn *sqlx.DB, t *testing.T, mRs []MigrationRecordExpectation)
func AssertTableDoesNotExist ¶
Types ¶
type MigrationRecordExpectation ¶
type MigrationRecordExpectation struct { Id string Status string Events []MigrationRecordEventExpectation }
Click to show internal directories.
Click to hide internal directories.