testutil

package
v0.0.0-...-900fa13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2015 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureIntegrationTest

func ConfigureIntegrationTest(t *testing.T, testSettings *evergreen.Settings,
	testName string)

func CreateTestLocalConfig

func CreateTestLocalConfig(testSettings *evergreen.Settings, projectName string) error

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 HandleTestingErr

func HandleTestingErr(err error, t *testing.T, format string, a ...interface{})

HandleTestingErr catches errors that we do not want to treat as relevant a goconvey statement. HandleTestingErr is used to terminate unit tests that fail for reasons that are orthogonal to the test (filesystem errors, database errors, etc).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL