Documentation ¶
Index ¶
Constants ¶
View Source
const (
// EnvvarMongoTests enables tests that run against a local mongo db
EnvvarMongoTests = "ENABLE_MONGO_INTEGRATION_TESTS"
)
Variables ¶
This section is empty.
Functions ¶
func GetInitializedManager ¶
func GetInitializedManager(t *testing.T) (*dbutils.MongodbAssetManager, func())
GetInitializedManager returns an initialized mongodb manager ready for testing.
func OpenTestManager ¶
func OpenTestManager(t *testing.T) *dbutils.MongodbAssetManager
func SkipIfNoDB ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.