Documentation ¶
Overview ¶
Package process is a thin wrapper around the gotests library. It is intended to be called from a binary and handle its arguments, flags, and output when generating tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { OnlyFuncs string // Regexp string for filter matches. ExclFuncs string // Regexp string for excluding matches. ExportedFuncs bool // Only include exported functions. AllFuncs bool // Include all non-tested functions. PrintInputs bool // Print function parameters as part of error messages. Subtests bool // Print tests using Go 1.7 subtests WriteOutput bool // Write output to test file(s). TemplateDir string // Path to custom template set }
Set of options to use when generating tests.
Click to show internal directories.
Click to hide internal directories.