Documentation ¶
Overview ¶
Package testacc contains helper methods for running acceptance tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PanicIfMissingEnv ¶
func PanicIfMissingEnv()
PanicIfMissingEnv is designed to panic if the following environment variables are not set:
- PHPIPAM_APP_ID
- PHPIPAM_ENDPOINT_ADDR
- PHPIPAM_PASSWORD
- PHPIPAM_USER_NAME
Acceptance tests cannot continue if these are not set so there is no point in continuing.
func SkipIfCustomNested ¶
SkipIfCustomNested is designed to skip an integration test if TESTACC_CUSTOM_NESTED is set.
func SkipIfNotAcc ¶
SkipIfNotAcc is designed to skip an integration test if TESTACC is not set.
func VetAccConditions ¶
VetAccConditions is a meta-function that ensures that an acceptance test meets the conditions necessary to continue.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.