Documentation ¶
Overview ¶
Package middleware provides reusable task runner interceptors such as ReportStatus.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BufferParallel ¶ added in v2.1.0
func BufferParallel(next goyek.Runner) goyek.Runner
BufferParallel is a middleware which buffers the output from parallel tasks to not have mixed output from parallel tasks execution.
func DryRun ¶
func DryRun(goyek.Runner) goyek.Runner
DryRun is a middleware which omits running the actions.
func ReportLongRun ¶
ReportLongRun is a middleware which reports the task when it is long running.
func ReportStatus ¶
func ReportStatus(next goyek.Runner) goyek.Runner
ReportStatus is a middleware which reports the task run status.
The format is based on the reports provided by the Go test runner.
func SilentNonFailed ¶
func SilentNonFailed(next goyek.Runner) goyek.Runner
SilentNonFailed is a middleware which makes sure that only output from failed tasks is printed.
The behavior is based on the Go test runner when it is executed without the -v flag.
Types ¶
This section is empty.