Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutionTelemtry ¶
type NabazRun ¶
type NabazRun struct { RunID int64 `json:"result_id"` CommitID string `json:"commit_id"` TestsRan []TestRun `json:"tests_ran"` TestsSkipped []SkippedTest `json:"tests_skipped"` RunDuration float64 `json:"run_duration"` LongestDuration float64 `json:"longest_duration"` }
NabazRun is the result of a run with nabaz.
func (*NabazRun) FailedTests ¶
FailedTests returns the tests that failed in this Nabaz run.
func (*NabazRun) GetTestRun ¶
GetTestRun returns the test run info for the given test name.
func (*NabazRun) PreviousTestRun ¶
func (r *NabazRun) PreviousTestRun(testName string) *SkippedTest
PreviousTestRun returns the previous test run outcome of a test that wasn't run this time around.
type ResultTelemetry ¶
type ResultTelemetry struct { RepoName string `json:"repo_name"` Os string `json:"os"` Arch string `json:"arch"` RunDuration float64 `json:"run_duration"` LongestDuration float64 `json:"longest_duration"` TestsSkipped int `json:"skipped_tests"` TestsRan int `json:"ran_tests"` TestsFailed int `json:"failed_tests"` }
type SkippedTest ¶
Click to show internal directories.
Click to hide internal directories.