MCPcopy
hub / github.com/go-task/task / ExecutorTestOption

Interface ExecutorTestOption

executor_test.go:22–24  ·  view source on GitHub ↗

A ExecutorTestOption is a function that configures an [ExecutorTest].

Source from the content-addressed store, hash-verified

20type (
21 // A ExecutorTestOption is a function that configures an [ExecutorTest].
22 ExecutorTestOption interface {
23 applyToExecutorTest(*ExecutorTest)
24 }
25 // A ExecutorTest is a test wrapper around a [task.Executor] to make it easy
26 // to write tests for tasks. See [NewExecutorTest] for information on
27 // creating and running ExecutorTests. These tests use fixture files to

Callers 1

NewExecutorTestFunction · 0.65

Implementers 12

inputTestOptionexecutor_test.go
runErrorTestOptionexecutor_test.go
statusErrorTestOptionexecutor_test.go
nameTestOptiontask_test.go
taskTestOptiontask_test.go
varTestOptiontask_test.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…