Execution
Configure how TofuPilot executes your test procedures, including phase order, failure handling, and parallel execution strategies.
You can configure test execution behavior using the execution section in your procedure file.
Options
TofuPilot provides options to control test execution:
On Fail
Control behavior when phases fail
Workers
Control worker thread count
Slots
Configure parallel test slots
Strategy
Choose phase-first or slot-first
Run Outcome
TofuPilot determines the overall run outcome after all phases complete:
| Outcome | Condition |
|---|---|
| Error | Any phase threw unhandled exception |
| Stop | Run was stopped by user or phase.stop() |
| Timeout | Any phase exceeded timeout limit |
| Fail | Any phase failed |
| Pass | All phases passed |
TofuPilot evaluates each condition in order and assigns the first matching outcome.
How is this guide?