Documentation
¶
Index ¶
- Variables
- func ExecuteCmd(command string, t *testing.T) (string, error, string)
- func Execute_cmd_with_global_flags(command string, searchString string, t *testing.T, expectStdErr bool) bool
- func Record_test_result(filepath string, testhook_arg string, t *testing.T)
- func RunTest(filepath string, t *testing.T)
- func SetConfigurationAndLogin() (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Env1 = os.Getenv("TEST_ENVIRONMENT_1")
Valid test env1
View Source
var Env2 = os.Getenv("TEST_ENVIRONMENT_2")
Valid test env2
View Source
var IdpHost = os.Getenv("IDP_HOST")
Auth url to provide token for request validation
View Source
var InvalidAuthUrl = "https://InvalidAuthUrl:443"
Invalid Auth Url
View Source
var InvalidHostUrl = "https://InvalidHostUrl:443"
Invalid Host Url
View Source
var Password = os.Getenv("TEST_PASSWORD")
View Source
var TestSplunkCloudHost = os.Getenv("SPLUNK_CLOUD_HOST")
TestSplunkCloudHost - the url for the test api to be used
View Source
var TestTenant = os.Getenv("TENANT_ID")
TestTenant - the tenant to be used for the API
View Source
var Username = os.Getenv("TEST_USERNAME")
Username to be used in scloud login flow
Functions ¶
func ExecuteCmd ¶ added in v1.7.0
func Execute_cmd_with_global_flags ¶
func Execute_cmd_with_global_flags(command string, searchString string, t *testing.T, expectStdErr bool) bool
Execute a global flag test case
func Record_test_result ¶
func SetConfigurationAndLogin ¶
Set config and Login
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.