Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReportsJSON ¶
Types ¶
type FixtureResult ¶
type FixtureResult struct {
Name string `json:"name"`
Path string `json:"path"`
PathOK bool `json:"path_ok"`
GNOTestOK bool `json:"gno_test_ok"`
GNOTestWant string `json:"gno_test_want"`
GNOTestOutput string `json:"gno_test_output"`
PatternHits []Hit `json:"pattern_hits"`
WantPatternHits int `json:"want_pattern_hits"`
PatternExpectationOK bool `json:"pattern_expectation_ok"`
Errors []string `json:"errors,omitempty"`
}
type Record ¶
type Record struct {
ID string `yaml:"id" json:"id"`
Title string `yaml:"title" json:"title"`
Rule string `yaml:"rule" json:"rule"`
Fixtures []Fixture `yaml:"fixtures" json:"fixtures"`
}
func LoadRecord ¶
func (Record) ValidatePaths ¶
ValidatePaths checks that every fixture path exists and is a directory.
Click to show internal directories.
Click to hide internal directories.