Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatePassed = "passed" StateFailed = "failed" StateSkipped = "skipped" )
The different states that a run can be in.
View Source
const ( TypeWeb = "web" TypeMobile = "mobile" )
The different types that a run can be.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobHistory ¶
type JobHistory struct {
TestCases []TestCase `json:"test_cases"`
}
JobHistory represents job history data structure
type ListJobsOptions ¶ added in v0.173.0
ListJobsOptions represents the query option for listing jobs
type TestRun ¶ added in v0.119.0
type TestRun struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` UserID string `json:"user_id,omitempty"` OrgID string `json:"org_id,omitempty"` TeamID string `json:"team_id,omitempty"` GroupID string `json:"group_id,omitempty"` AuthorID string `json:"author_id,omitempty"` PathName string `json:"path_name,omitempty"` BuildID string `json:"build_id,omitempty"` BuildName string `json:"build_name,omitempty"` CreationTime time.Time `json:"creation_time,omitempty"` StartTime time.Time `json:"start_time,omitempty"` EndTime time.Time `json:"end_time,omitempty"` Duration int `json:"duration"` Browser string `json:"browser,omitempty"` Device string `json:"device,omitempty"` OS string `json:"os,omitempty"` AppName string `json:"app_name,omitempty"` Status string `json:"status,omitempty"` Platform job.Source `json:"platform,omitempty"` Type string `json:"type,omitempty"` Framework string `json:"framework,omitempty"` CI *CI `json:"ci,omitempty"` SauceJob *Job `json:"sauce_job,omitempty"` Errors []TestRunError `json:"errors,omitempty"` Tags []string `json:"tags,omitempty"` }
TestRun represents a single test run.
func FromSauceReport ¶ added in v0.119.0
func FromSauceReport(report saucereport.SauceReport, jobID string, jobName string, details Details, isRDC bool) []TestRun
type TestRunError ¶ added in v0.119.0
Click to show internal directories.
Click to hide internal directories.