TofuPilotTofuPilot

On Fail

Control behavior when test phases fail

You can set on_first_failure to define behavior when a phase reaches Fail.

execution:
  on_first_failure: continue

main:
  - name: Calibration
    python: calibrate
  - name: Functional Test
    python: test_functions

With continue, remaining phases execute even after a failure. The default stop behavior cancels any phases that haven't started yet.

How is this guide?

On this page