Documentation ¶
Index ¶
- func ConnectToTestCockroachDB() (*sqlx.DB, error)
- func ConnectToTestCockroachDBPop(t *testing.T) *pop.Connection
- func ConnectToTestMySQL() (*sqlx.DB, error)
- func ConnectToTestMySQLPop(t *testing.T) *pop.Connection
- func ConnectToTestPostgreSQL() (*sqlx.DB, error)
- func ConnectToTestPostgreSQLPop(t *testing.T) *pop.Connection
- func KillAllTestDatabases()
- func Parallel(fs []func())
- func RunCockroachDB() (string, error)
- func RunMySQL() (string, error)
- func RunPostgreSQL() (string, error)
- func RunTestCockroachDB(t *testing.T) string
- func RunTestMySQL(t *testing.T) string
- func RunTestPostgreSQL(t *testing.T) string
- type OnExit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToTestCockroachDB ¶ added in v0.0.57
ConnectToTestCockroachDB connects to a CockroachDB database.
func ConnectToTestCockroachDBPop ¶ added in v0.0.113
func ConnectToTestMySQL ¶
ConnectToTestMySQL connects to a MySQL database.
func ConnectToTestMySQLPop ¶ added in v0.0.113
func ConnectToTestPostgreSQL ¶
ConnectToTestPostgreSQL connects to a PostgreSQL database.
func ConnectToTestPostgreSQLPop ¶ added in v0.0.113
func KillAllTestDatabases ¶
func KillAllTestDatabases()
KillAllTestDatabases deletes all test databases.
func RunCockroachDB ¶ added in v0.0.131
RunCockroachDB runs a CockroachDB database and returns the URL to it.
func RunPostgreSQL ¶ added in v0.0.131
RunPostgreSQL runs a PostgreSQL database and returns the URL to it.
func RunTestCockroachDB ¶ added in v0.0.84
RunTestCockroachDB runs a CockroachDB database and returns the URL to it.
func RunTestMySQL ¶ added in v0.0.84
RunTestMySQL runs a MySQL database and returns the URL to it.
func RunTestPostgreSQL ¶ added in v0.0.84
RunTestPostgreSQL runs a PostgreSQL database and returns the URL to it.
Types ¶
Click to show internal directories.
Click to hide internal directories.