Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOrchestrateRouter ¶
NewOrchestrateRouter creates a router object to use for testing
Types ¶
type OrchestraTest ¶
type OrchestraTest struct {
// contains filtered or unexported fields
}
OrchestraTest contains the integration testing environment
func NewOrchestraTest ¶
func NewOrchestraTest() *OrchestraTest
NewOrchestraTest populates the OrchestraTest struct with sane defaults
func (*OrchestraTest) CleanDB ¶
func (o *OrchestraTest) CleanDB() error
CleanDB will drop all the tables created by the orchstra user
func (*OrchestraTest) GetPGURL ¶
func (o *OrchestraTest) GetPGURL(dbname string) string
GetPGURL returns the postgres db URL
func (*OrchestraTest) Setup ¶
func (o *OrchestraTest) Setup() error
Setup should be run once per test-suite
func (*OrchestraTest) Teardown ¶
func (o *OrchestraTest) Teardown() error
Teardown should be run at the end of a test suite
Click to show internal directories.
Click to hide internal directories.