Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetUp ¶
func SetUp(handlers []ITestHandler)
func TearDown ¶
func TearDown(handlers []ITestHandler)
Types ¶
type ITestHandler ¶
type ITestHandler interface { SetUp() TearDown() GetHandlerName() string }
type PostgresTestHandler ¶
type PostgresTestHandler struct {
// contains filtered or unexported fields
}
func DefaultPostgresTestHandler ¶
func DefaultPostgresTestHandler() *PostgresTestHandler
PostgresTestHandler is a test handler for postgres
func (PostgresTestHandler) GetHandlerName ¶
func (p PostgresTestHandler) GetHandlerName() string
func (*PostgresTestHandler) SetUp ¶
func (p *PostgresTestHandler) SetUp()
func (*PostgresTestHandler) TearDown ¶
func (p *PostgresTestHandler) TearDown()
Click to show internal directories.
Click to hide internal directories.