Expand description
The boundary between task programs and the engine.
Each run() call in a task program builds a StepSpec, the step
specification, and hands it to the StepExecutor the task runs with. The
executor decides how the step is run, traced, and cached, and returns a
StepOutcome: how the command ended, its raw captured output, and whether the
outcome came from the cache. Tests implement StepExecutor with a fake.
Structs§
- Step
Error - A step the executor could not run, such as a program that does not exist.
- Step
Outcome - The outcome of one step.
- Step
Spec - One step, as a
run()call in a task program specifies it.
Traits§
- Step
Executor - Runs the steps of a task program.