Documentation
¶
Overview ¶
Package test provides useful extensions to goconvey.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShouldHaveComposition ¶
func ShouldHaveComposition(actual interface{}, expected ...interface{}) string
ShouldHaveComposition compares a []component expected result against the actual []InventoryLine.
func SpatialiteModulePath ¶
func SpatialiteModulePath() string
SpatialiteModulePath finds the path of the installed Spatialite module, for passing to the SQLite driver.
Types ¶
type CacheData ¶
type CacheData struct {
GetKeys, PutKeys map[string]bool
NumGets, NumPuts int
PutExpires time.Time
// When ShouldError is set to true, a call to Put will error out.
ShouldError bool
}
CacheData maintains information on calls by the test code to the cache.
Click to show internal directories.
Click to hide internal directories.