fabro/lib/crates/fabro-cli/tests/it/cmd
Bryan Helmkamp e641b2c90c Add write_temp/write_home helpers to TestContext
Add convenience methods that write a file under temp_dir or home_dir,
auto-creating parent directories. Returns &Self for chaining.

Apply write_home in config.rs fixture helpers and standalone tests,
replacing manual create_dir_all + write boilerplate.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 11:40:31 -04:00
..
config.rs Add write_temp/write_home helpers to TestContext 2026-03-30 11:40:31 -04:00
cp.rs Replace trycmd tests with fabro-test crate and insta snapshots 2026-03-30 11:28:41 -04:00
doctor.rs Remove arc() and fabro() helpers in favor of TestContext 2026-03-30 11:40:28 -04:00
exec.rs Remove arc() and fabro() helpers in favor of TestContext 2026-03-30 11:40:28 -04:00
init.rs Replace trycmd tests with fabro-test crate and insta snapshots 2026-03-30 11:28:41 -04:00
install.rs Replace trycmd tests with fabro-test crate and insta snapshots 2026-03-30 11:28:41 -04:00
llm.rs Remove arc() and fabro() helpers in favor of TestContext 2026-03-30 11:40:28 -04:00
mod.rs Move cli.rs and scenario.rs tests into per-subcommand cmd/ files 2026-03-30 11:37:24 -04:00
model.rs Replace trycmd tests with fabro-test crate and insta snapshots 2026-03-30 11:28:41 -04:00
pr.rs Replace trycmd tests with fabro-test crate and insta snapshots 2026-03-30 11:28:41 -04:00
preview.rs Replace trycmd tests with fabro-test crate and insta snapshots 2026-03-30 11:28:41 -04:00
repo.rs Remove arc() and fabro() helpers in favor of TestContext 2026-03-30 11:40:28 -04:00
run.rs Remove arc() and fabro() helpers in favor of TestContext 2026-03-30 11:40:28 -04:00
secret.rs Remove arc() and fabro() helpers in favor of TestContext 2026-03-30 11:40:28 -04:00
serve.rs Move cli.rs and scenario.rs tests into per-subcommand cmd/ files 2026-03-30 11:37:24 -04:00
ssh.rs Replace trycmd tests with fabro-test crate and insta snapshots 2026-03-30 11:28:41 -04:00
system.rs Replace trycmd tests with fabro-test crate and insta snapshots 2026-03-30 11:28:41 -04:00
top_level.rs Move cli.rs and scenario.rs tests into per-subcommand cmd/ files 2026-03-30 11:37:24 -04:00
validate.rs Replace trycmd tests with fabro-test crate and insta snapshots 2026-03-30 11:28:41 -04:00
workflow.rs Remove arc() and fabro() helpers in favor of TestContext 2026-03-30 11:40:28 -04:00