Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunHostTaskPatchTest ¶
func RunHostTaskPatchTest(ctx context.Context, t *testing.T, params SmokeTestParams)
RunHostTaskPatchTest runs host tasks in the smoke test based on the project YAML (project.yml) and the regexp specifying the tasks to run.
Types ¶
type SmokeTestParams ¶
type SmokeTestParams struct { internal.APIParams ExecModeID string ExecModeSecret string CLIConfigPath string ProjectID string BVName string }
SmokeTestParams contain common parameters used by smoke tests.
func GetSmokeTestParamsFromEnv ¶
func GetSmokeTestParamsFromEnv(t *testing.T) SmokeTestParams
GetSmokeTestParamsFromEnv gets the parameters for the host smoke test from the environment. It sets defaults where possible. Note that the default data depends on the setup test data for the smoke test.
Click to show internal directories.
Click to hide internal directories.