Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Verbose mode is useful for debugging this tool (default:false) Verbose bool // Concurrency used to run tests (default: runtime.NumCPU()) Concurrency int // Quiet mode will suppress the StdOut messages from go test (default:true) Quiet bool // DoAll is short form/convenience method for -c -p -d (calculate, output and clean up) DoAll bool // Coverage controls is coverage is calculator (or reused from previous run) Coverage bool // SingleDir will only generate for the supplied directory (no recursion and will ignore -i) SingleDir bool // DoClean will "clean up" by removing any calculated coverage files DoClean bool // DoPrint will output the result to StdOut DoPrint bool // IgnorePaths allows you to ignore file paths matching the specified regex // (match directories by surrounding the directory name with slashes; match files by prefixing with a slash) IgnorePaths string // WebHook is the Slack WebHook URL (missing means don't send) WebHook string // ChannelOverride allows you to override the WebHook's default Slack channel ChannelOverride string // Prefix is the directory structure to be removed from all package names (makes the output cleaner) Prefix string // Depth is how many levels of coverage to output (default is 0 = all) Depth int // MinCoverage causes output to StdOut to be colored red for any package below this amount of coverage MinCoverage int // Tags is the go build tags to be added in go test calls Tags string // Race is used to enable --race flag Race bool }
Config for this application
Click to show internal directories.
Click to hide internal directories.