Documentation
¶
Index ¶
- Variables
- type Aggregation
- func (agg Aggregation) Benchmarks() []*Benchmark
- func (agg Aggregation) CountBy(status string) int
- func (agg Aggregation) Coverages() []*Coverage
- func (agg Aggregation) Elapsed() time.Duration
- func (agg Aggregation) SlowestTests() []*Test
- func (agg Aggregation) Status() string
- func (agg Aggregation) Tests() []*Test
- func (agg Aggregation) TestsCount() int
- type Benchmark
- type Coverage
- type Output
- type Stream
- type StreamConsumer
- type Test
Constants ¶
This section is empty.
Variables ¶
View Source
var Arch string = "unknown"
View Source
var Clock clock = clock{ Now: time.Now, }
View Source
var Color color = color{}
View Source
var Commit string = "0000000"
View Source
var DownloadURL string = "https://github.com/fnando/bolt/releases/latest/download/bolt-" + Arch
View Source
var Version string = "0.0.3"
Functions ¶
This section is empty.
Types ¶
type Aggregation ¶
type Aggregation struct { BenchmarksMap map[string]*Benchmark CoverageCount int CoverageMap map[string]*Coverage CoverageThreshold float64 OrphanOutput []string SlowestCount int SlowestThreshold time.Duration TestsMap map[string]*Test StartedAt time.Time EndedAt time.Time }
func (Aggregation) Benchmarks ¶
func (agg Aggregation) Benchmarks() []*Benchmark
func (Aggregation) CountBy ¶
func (agg Aggregation) CountBy(status string) int
func (Aggregation) Coverages ¶
func (agg Aggregation) Coverages() []*Coverage
func (Aggregation) Elapsed ¶
func (agg Aggregation) Elapsed() time.Duration
func (Aggregation) SlowestTests ¶
func (agg Aggregation) SlowestTests() []*Test
func (Aggregation) Status ¶
func (agg Aggregation) Status() string
func (Aggregation) Tests ¶
func (agg Aggregation) Tests() []*Test
func (Aggregation) TestsCount ¶
func (agg Aggregation) TestsCount() int
type StreamConsumer ¶
type StreamConsumer struct { Aggregation *Aggregation OnData func(data string) OnProgress func(test Test) OnFinished func(aggregation *Aggregation) }
func (StreamConsumer) Ingest ¶
func (consumer StreamConsumer) Ingest(scanner *bufio.Scanner)
Click to show internal directories.
Click to hide internal directories.