Documentation
¶
Index ¶
- func DeleteApp(urlBase string, apiToken string, organization string, project string, ...) *cli.ExitError
- func DownloadPreparedScreenshots(urlBase string, apiToken string, organization string, project string, ...) error
- func GetBatchTaskStatus(urlBase string, apiToken string, organization string, project string, ...) string
- func GetScreenshots(urlBase string, apiToken string, organization string, project string, ...) error
- func LatestBatchRunNo(urlBase string, apiToken string, organization string, project string, ...) (int, *cli.ExitError)
- func PrepareScreenshots(urlBase string, apiToken string, organization string, project string, ...) int
- func UploadApp(urlBase string, apiToken string, organization string, project string, ...) (int, *cli.ExitError)
- type BatchRun
- func ExecuteBatchRun(urlBase string, apiToken string, organization string, project string, ...) (*BatchRun, bool, bool, *cli.ExitError)
- func GetBatchRun(urlBase string, apiToken string, organization string, project string, ...) (*BatchRun, *cli.ExitError)
- func StartBatchRun(urlBase string, apiToken string, organization string, project string, ...) (*BatchRun, *cli.ExitError)
- func WaitForBatchRunResult(urlBase string, apiToken string, organization string, project string, ...) (*BatchRun, bool, bool, *cli.ExitError)
- type BatchRunSummary
- type BatchRuns
- type DataPattern
- type TestCaseResult
- type UploadFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteApp ¶
func DeleteApp(urlBase string, apiToken string, organization string, project string, httpHeadersMap map[string]string, appFileNumber int) *cli.ExitError
DeleteApp deletes app/ipa/apk file on the server
func GetBatchTaskStatus ¶
func GetScreenshots ¶
func GetScreenshots(urlBase string, apiToken string, organization string, project string, httpHeadersMap map[string]string, batchRunNumber int, downloadPath string, fileIndexType string, fileNameBodyType string, downloadType string, maskDynamicallyChangedArea bool, waitLimit int, printResult bool) error
func LatestBatchRunNo ¶
func PrepareScreenshots ¶
Types ¶
type BatchRun ¶
type BatchRun struct { OrganizationName string `json:"organization_name"` ProjectName string `json:"project_name"` BatchRunNumber int `json:"batch_run_number"` TestSettingName string `json:"test_setting_name"` Status string `json:"status"` StatusNumber int `json:"status_number"` TestCases struct { Details []struct { PatternName *string `json:"pattern_name"` IncludedLabels []string `json:"included_labels"` ExcludedLabels []string `json:"excluded_labels"` Results []TestCaseResult `json:"results"` } `json:"details"` // contains filtered or unexported fields } `json:"test_cases"` Url string `json:"url"` // contains filtered or unexported fields }
BatchRun stands for a batch run executed on the server
func ExecuteBatchRun ¶
func ExecuteBatchRun(urlBase string, apiToken string, organization string, project string, httpHeadersMap map[string]string, testSettingsNumber int, setting string, waitForResult bool, waitLimit int, printResult bool) (*BatchRun, bool, bool, *cli.ExitError)
ExecuteBatchRun starts batch run(s) and wait for its completion with showing progress
func GetBatchRun ¶
func GetBatchRun(urlBase string, apiToken string, organization string, project string, httpHeadersMap map[string]string, batchRunNumber int) (*BatchRun, *cli.ExitError)
GetBatchRun retrieves status and number of test cases executed of a specified batch run
type BatchRunSummary ¶
type BatchRunSummary struct { BatchRunNumber int `json:"batch_run_number"` TestSettingName string `json:"test_setting_name"` Status string `json:"status"` StatusNumber int `json:"status_number"` TestCases struct { // contains filtered or unexported fields } `json:"test_cases"` Url string `json:"url"` // contains filtered or unexported fields }
type BatchRuns ¶
type BatchRuns struct { OrganizationName string `json:"organization_name"` ProjectName string `json:"project_name"` BatchRuns []BatchRunSummary `json:"batch_runs"` }
BatchRuns stands for a group of batch runs executed on the server
type DataPattern ¶
type TestCaseResult ¶
type UploadFile ¶
type UploadFile struct {
FileNo int `json:"file_no"`
}
UploadFile stands for a file to be uploaded to the server
Click to show internal directories.
Click to hide internal directories.