Documentation ¶
Index ¶
- Constants
- func AddTestIndexes(collection string, unique, sparse bool, key ...string) error
- func CreateTestLocalConfig(testSettings *evergreen.Settings, projectName, projectPath string) error
- func SetupPatches(patchMode PatchTestMode, b *build.Build, patches ...PatchRequest) (*patch.Patch, error)
- type PatchRequest
- type PatchTestMode
- type TestModelData
Constants ¶
View Source
const PatchId = "58d156352cfeb61064cf08b3"
Variables ¶
This section is empty.
Functions ¶
func AddTestIndexes ¶
AddTestIndexes drops and adds indexes for a given collection
func CreateTestLocalConfig ¶
Creates a project ref local config that can be used for testing, with the string identifier given and the local config from a path
func SetupPatches ¶
func SetupPatches(patchMode PatchTestMode, b *build.Build, patches ...PatchRequest) (*patch.Patch, error)
Types ¶
type PatchRequest ¶
type PatchTestMode ¶
type PatchTestMode int
const ( NoPatch PatchTestMode = iota InlinePatch ExternalPatch )
func (PatchTestMode) String ¶
func (m PatchTestMode) String() string
type TestModelData ¶
type TestModelData struct { Task *task.Task Build *build.Build Host *host.Host TaskConfig *model.TaskConfig }
func SetupAPITestData ¶
func SetupAPITestData(testConfig *evergreen.Settings, taskDisplayName string, variant string, projectFile string, patchMode PatchTestMode) (*TestModelData, error)
Click to show internal directories.
Click to hide internal directories.