Documentation ¶
Index ¶
- func Errorf(t *testing.T, txt string, a ...interface{})
- func Fatalf(t *testing.T, txt string, a ...interface{})
- func Given(t *testing.T, txt string)
- func GivenF(t *testing.T, txt string, a ...interface{})
- func Successf(t *testing.T, txt string, a ...interface{})
- func WhenF(t *testing.T, txt string, a ...interface{})
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
A Server represents a running PostgreSQL server.
func InitTestDBConn ¶
InitTestDBConn creates a connection to the postgres user and creates the Server struct. This is used to create all other test databases and should be executed once at the top of a test file (in the Main function).
Click to show internal directories.
Click to hide internal directories.