fabro/lib/crates/arc-cli/tests
Bryan Helmkamp e248fc5651 Migrate 29 CLI tests from assert_cmd/insta to declarative trycmd
Model list tests (6): exact stdout snapshots in .trycmd files, replacing
insta .snap files. Error validation tests (5): TOML with stderr-to-stdout
checking specific error messages. Doctor tests (3): TOML with env.inherit
= false for env_clear(). Validate tests (7): TOML with fs.cwd/sandbox for
file path access. Dry-run tests (6): TOML with fs.cwd/sandbox. Exec help
and no-prompt tests (2): TOML with env config.

Remaining in cli.rs: negative-assertion tests, file-system side-effect
test, tmpdir+env test, and 11 ignored API-key-dependent tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-10 22:42:24 -04:00
..
cmd Migrate 29 CLI tests from assert_cmd/insta to declarative trycmd 2026-03-10 22:42:24 -04:00
cli.rs Migrate 29 CLI tests from assert_cmd/insta to declarative trycmd 2026-03-10 22:42:24 -04:00
trycmd.rs Add trycmd --help tests for each visible CLI subcommand 2026-03-10 22:10:28 -04:00