Documentation ¶
Index ¶
- func ComparePreviousWithNew(previous []commons.Tests, new []commons.Tests) []commons.Tests
- func CountChecksPassedOverall(checks []commons.Check) (int, int)
- func ExitCode(checks []commons.Tests) int
- func GenerateReadme(filename string) string
- func IsIgnored(c *commons.Config, r commons.Result, check commons.Check) bool
- func PrettyPrintChecks(checks []commons.Tests, c *commons.Config)
- func ReadPreviousResults() []commons.Tests
- func RemoveIgnored(c *commons.Config, tests []commons.Tests) []commons.Tests
- func WriteChecksToFile(checks []commons.Tests, c *commons.Config)
- func WriteReadme(readmeFile string, resultFile string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComparePreviousWithNew ¶
ComparePreviousWithNew compares the previous test results with the new ones and returns the difference.
func CountChecksPassedOverall ¶
CountChecksPassedOverall counts the number of passed and total checks.
func GenerateReadme ¶
func PrettyPrintChecks ¶
PrettyPrintChecks prints the checks in a human-readable format.
func ReadPreviousResults ¶
ReadPreviousResults reads the previous test results from the results.yaml file.
func RemoveIgnored ¶
RemoveIgnored removes ignored checks from the given tests based on the configuration.
func WriteChecksToFile ¶
WriteChecksToFile writes the test results to the results.yaml file.
func WriteReadme ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.