Expand description
The subplotlib prelude.
This prelude is automatically imported into all generated subplot test suites
using the rust
template. Effectively they get
use subplotlib::prelude::*;
inserted into them at the top of the file.
You should familiarise yourself with the context-related types if you are writing your own contexts, or writing step functions which use the contexts provided by the step library itself.
The primary thing you will need to learn, as a step function author, is
the #[step]
attribute macro, and it interacts with contexts.
Macros§
- throw
- Throw an error.
Structs§
- Scenario
- The embodiment of a subplot scenario
- Scenario
Context - A container for all scenario contexts
- Scenario
Step - A ScenarioStep is one step in a scenario.
- Subplot
Data File - An embedded data file.
Traits§
- Context
Element - A context element is anything which can be used as a scenario step context.
Functions§
- base64_
decode - Decode a base64 string.
Type Aliases§
- Step
Error - Generic error type which steps can return.
- Step
Result - Result type using
StepError
.