Skip to main content

Module step

Module step 

Source
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§

StepError
A step the executor could not run, such as a program that does not exist.
StepOutcome
The outcome of one step.
StepSpec
One step, as a run() call in a task program specifies it.

Traits§

StepExecutor
Runs the steps of a task program.