Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckResult ¶
type CheckResult struct {
Name string `json:"name"`
Kind string `json:"kind"` // "scenario" or "invariant"
Passed bool `json:"passed"`
InputsRun int `json:"inputs_run"` // 1 for given-scenarios, N for when/invariants
FailedAt int `json:"failed_at,omitempty"` // which input number failed (0 if passed)
Failure *Failure `json:"failure,omitempty"`
}
CheckResult captures the outcome of a single scenario or invariant.
type Result ¶
type Result struct {
Spec string `json:"spec"`
Scopes []ScopeResult `json:"scopes"`
Failures []Failure `json:"failures"`
ScenariosRun int `json:"scenarios_run"`
ScenariosPassed int `json:"scenarios_passed"`
InvariantsChecked int `json:"invariants_checked"`
InvariantsPassed int `json:"invariants_passed"`
}
Result captures the outcome of a verification run.
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner orchestrates spec verification.
type ScopeResult ¶
type ScopeResult struct {
Name string `json:"name"`
Checks []CheckResult `json:"checks"`
}
ScopeResult captures per-scope verification results.
Click to show internal directories.
Click to hide internal directories.