Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSchemaTableNames ¶
GetSchemaTableNames will return the names of all the tables in the public schema.
func TemporaryDatabaseTestCase ¶
TemporaryDatabaseTestCase creates a new database and executes the provided function passing it a reference to the newly created database. When the test is complete, the temporary database is destroyed.
func TransactionedTestCase ¶
TransactionedTestCase will execute the provided function with a transaction and rollback once the test is complete. It passes the given *testing.T to the function, so failing in the test function triggers the failure of the outer test.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.