mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-21 00:21:27 +00:00
Adopt uv's testing pattern: a shared `fabro-test` crate with TestContext and fabro_snapshot! macro, plus one test file per subcommand under tests/it/cmd/. This replaces the trycmd-based tests which were hard to read and didn't compose well with programmatic assertions. - Create lib/crates/fabro-test with TestContext, run_and_format, apply_filters, INSTA_FILTERS, and test_context!/fabro_snapshot! macros - Add 42 snapshot tests across 16 subcommand files - Delete trycmd.rs and all tests/cmd/ trycmd files - Remove trycmd dependency, add fabro-test dev-dependency Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| tests/it | ||
| build.rs | ||
| Cargo.toml | ||