Documentation ¶
Index ¶
Constants ¶
View Source
const ( NoOp = Action(iota) Equal Added Removed InnerChanges )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CheckOutputSpec ¶
type CommandEdit ¶
type CommandResultSpec ¶
type CommandResultSpec struct { Command string `yaml:"command"` Checks []CheckOutputSpec `yaml:"checks"` }
type TestEdit ¶
type TestEdit struct { Name string Action Action Commands []CommandEdit }
func Compare ¶
func Compare(oldspecs []TestResultSpec, newspecs []TestResultSpec) (edits []TestEdit, differs bool, err error)
type TestResultSpec ¶
type TestResultSpec struct { Name string `yaml:"name"` Commands []CommandResultSpec `yaml:"commands"` }
func FromTestResult ¶
func FromTestResult(result engine.TestResult) (TestResultSpec, error)
Click to show internal directories.
Click to hide internal directories.