Versions in this module Expand all Collapse all v1 v1.1.0 Aug 22, 2018 Changes in this version + func DBConnection(t *testing.T, dbType string, dbConfig DBConfig) *sql.DB + func DBConnectionE(t *testing.T, dbType string, dbConfig DBConfig) (*sql.DB, error) + func DBExecution(t *testing.T, db *sql.DB, command string) + func DBExecutionE(t *testing.T, db *sql.DB, command string) (sql.Result, error) + func DBQuery(t *testing.T, db *sql.DB, command string) *sql.Rows + func DBQueryE(t *testing.T, db *sql.DB, command string) (*sql.Rows, error) + func DBQueryWithCustomValidation(t *testing.T, db *sql.DB, command string, ...) + func DBQueryWithCustomValidationE(t *testing.T, db *sql.DB, command string, ...) error + func DBQueryWithValidation(t *testing.T, db *sql.DB, command string, expected string) + func DBQueryWithValidationE(t *testing.T, db *sql.DB, command string, expected string) error + type DBConfig struct + type ValidationFunctionFailed struct + func (err ValidationFunctionFailed) Error() string