fabro/test/scenario/conditional_branching.fabro
Bryan Helmkamp e5ec057b79 Expand scenario tests to cover more CLI subcommands
Add coverage for validate, model list, workflow list, doctor, exec,
ps, inspect, logs, rm, system df, asset list, asset cp, and cp.
Uses HOME isolation for run lifecycle tests and synthetic assets
for asset/cp testing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 16:05:13 -04:00

18 lines
639 B
Text

digraph ConditionalBranching {
graph [goal="Test conditional edge selection after a command"]
rankdir=LR
start [shape=Mdiamond, label="Start"]
exit [shape=Msquare, label="Exit"]
cmd [label="Run Command", shape=parallelogram, script="echo pass"]
gate [label="Check Result", shape=diamond]
passed [label="Passed", shape=parallelogram, script="echo branch-passed"]
failed [label="Failed", shape=parallelogram, script="echo branch-failed"]
start -> cmd -> gate
gate -> passed [label="Pass", condition="outcome=success"]
gate -> failed [label="Fail"]
passed -> exit
failed -> exit
}