Can I share data between test phases in TofuPilot?
Updated July 7, 2026
Yes. A phase can read an earlier phase's results by declaring a function parameter named after that phase's key; TofuPilot injects a read-only result object exposing its measurements, outcome, and duration. Use depends_on to guarantee the earlier phase runs first.
Related questions
- Can instrument connections stay open across an entire unit or station session?Yes. Plugs have a lifecycle scope: phase, slot, run, or station. With scope: station, the plug class is constructed once in a long-lived Python process, its…
- What is TofuPilot's relationship with OpenHTF?We've used TofuPilot for years on drone manufacturing floors and maintain openhtf.org, the open-source OpenHTF documentation site. We're also close to the…
- Can I sync TofuPilot test failures to Linear?Yes. The Linear integration lets failing runs and phases open or update tickets from the dashboard. It offers two actions: Create issue (with optional…
