Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Build string
Build includes commit sha date
Functions ¶
Types ¶
type DisplayContent ¶
type DisplayContent struct { Results map[string][]models.TestGroup TotalTests int TotalDuration float64 BuildVersion string CreatedOn time.Time Detail models.ReportDetail TestTime time.Time }
DisplayContent represents the visible report to the end user
func Generate ¶
func Generate(report models.ReportDetail, groups []models.TestGroup) (DisplayContent, error)
Generate generates a report
func (DisplayContent) HTML ¶
func (c DisplayContent) HTML() ([]byte, error)
HTML returns html format
func (DisplayContent) SQL ¶ added in v0.18.0
func (c DisplayContent) SQL(flagValues db.FlagValues) error
SQL handles database creation and updates
func (DisplayContent) ShortSummary ¶
func (c DisplayContent) ShortSummary() ([]byte, error)
ShortSummary returns only test names without logs
Click to show internal directories.
Click to hide internal directories.