Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadUnitTestWithSideEffects ¶
BadUnitTestWithSideEffects will run the test its called from iff the `-unit` or `-short` flag is passed when calling `go test`. Otherwise the test will be skipped. BadUnitTestWithSideEffects will run the test its called serially. Tests that use this flag are bad an should feel bad.
func BenchUnitTest ¶
BenchUnitTest will run the test its called from iff the `-unit` or `-short` flag is passed when calling `go test`. Otherwise the test will be skipped. UnitTest will run the test its called from in parallel.
func BinaryPath ¶
BinaryPath will return the path to the user provided binary. The call is expected to check if the return path points to an actual file. If the user did not provide a value an empty string will be returned along with a false for the second return value.
func DeploymentTest ¶
DeploymentTest will run the test its called from iff the `-deployment` flag is passed when calling `go test`. Otherwise the test will be skipped. DeploymentTest will run the test its called from in parallel. The network under test will be returned.
func FunctionalTest ¶
FunctionalTest will run the test its called from iff the `-functional` flag is passed when calling `go test`. Otherwise the test will be skipped. FunctionalTest will run the test its called from in parallel.
func IntegrationTest ¶
IntegrationTest will run the test its called from iff the `-integration` flag is passed when calling `go test`. Otherwise the test will be skipped. IntegrationTest will run the test its called from in parallel.
Types ¶
This section is empty.