fabro/lib/crates/fabro-cli
Bryan Helmkamp 2106aba53b
fix(tests): isolate CLI integration tests from repo project config
Config discovery walks from the workflow file's parent directory, so
tests using fixtures at their repo path (test/simple.fabro) would find
the repo's .fabro/project.toml. This caused settings like preserve=true
to leak into tests and break sandbox cleanup event assertions.

Add TestContext::install_fixture() which copies fixtures into the test's
temp dir. Update all CLI run/attach/start tests to use it. Remove the
now-unused example_fixture() function.

Restore preserve=true in .fabro/project.toml — tests are now isolated.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 11:18:19 -04:00
..
src fix(cli): align Run ID with other run header lines 2026-04-15 09:20:07 -04:00
tests/it fix(tests): isolate CLI integration tests from repo project config 2026-04-15 11:18:19 -04:00
build.rs refactor(async): lint std::process::Command across all targets 2026-04-12 13:35:57 -04:00
Cargo.toml refactor(graphviz): extract graphviz-sys into fabro-sh/graphviz-sys 2026-04-14 19:03:01 -04:00