Skip to content

(derive): Support steps with &Path arguments

Daniel Silverstone requested to merge filepath-as-path into main

Description

This adds a path type to the bindings support, maps that to &Path arguments to scenario steps, and derives PathBuf storage for that in Rust scenarios (akin to how &str arguments are stored as String). Finally this updates runcmd and files to use the new path type.

Closes #288 (closed)

Checklist

  • You have read, and followed the guidance in, the CONTRIBUTING guide
  • The MR content has run through a pipeline, or at least has pipelines enabled.
  • There are no licence concerns with this contribution (The README clearly states Subplot is MIT-0)

Merge request reports