Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { DisableTableOutput bool FollowOutput bool DisableColor bool Format OutputFormat Sorter parse.PackageSorter ShowNoTests bool FileName string // Test table options TestTableOptions TestTableOptions SummaryTableOptions SummaryTableOptions // TODO(mf): implement Progress bool }
type OutputFormat ¶
type OutputFormat int
const ( // OutputFormatBasic is a normal table withput a border OutputFormatPlain OutputFormat = iota + 1 // OutputFormatBasic is a normal table with border OutputFormatBasic // OutputFormatBasic is a markdown-rendered table OutputFormatMarkdown )
type SummaryTableOptions ¶
type SummaryTableOptions struct { // For narrow screens, remove common prefix and trim long package names vertically. Example: // github.com/iziang/tparse/app // github.com/iziang/tparse/internal/seed-up-down-to-zero // // tparse/app // tparse // /seed-up-down-to-zero Trim bool }
type TestTableOptions ¶
type TestTableOptions struct {
// Display passed or skipped tests. If both are true this is equivalent to all.
Pass, Skip bool
// For narrow screens, trim long test identifiers vertically. Example:
// TestNoVersioning/seed-up-down-to-zero
//
// TestNoVersioning
// /seed-up-down-to-zero
Trim bool
// Display up to N slow tests for each package, tests are sorted by
// calculated the elapsed time for the given test.
Slow int
}
Click to show internal directories.
Click to hide internal directories.