Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RunningIntegrationTests = false
RunningIntegrationTests indicates whether the tests will be run as "unit" or "integration" tests.
Functions ¶
This section is empty.
Types ¶
type Flags ¶
Flags holds the flags to control what the tests should be doing.
func ParseFlags ¶
func ParseFlags() Flags
ParseFlags parses the flags for the "go test" command. The "-createdb" indicates that a test database should be created, whilst the "-integration" flag indicates that integration tests should be run along with the unit tests.
Click to show internal directories.
Click to hide internal directories.