assert-rs/snapbox

Snapshot testing for a herd of CLI tests

Rust

185

1,522 commits

updated Sep 18, 2026

See the code

README

snapbox

When you have to treat your tests like pets, instead of cattle

Documentation License Crates Status

snapbox is a snapshot-testing toolbox that is ready to use for verifying output from

  • Function return values
  • CLI stdout/stderr
  • Filesystem changes

It is also flexible enough to build your own test harness like trycmd.

See the docs for more.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.

Contributors

epage

1,341 commits

renovate[bot]

122 commits

Muscraft

13 commits

figsoda

11 commits

assert-rs/snapbox

Snapshot testing for a herd of CLI tests

Rust

185

1,522 commits

updated Sep 18, 2026

See the code

README

snapbox

When you have to treat your tests like pets, instead of cattle

Documentation License Crates Status

snapbox is a snapshot-testing toolbox that is ready to use for verifying output from

  • Function return values
  • CLI stdout/stderr
  • Filesystem changes

It is also flexible enough to build your own test harness like trycmd.

See the docs for more.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.

Contributors

epage

1,341 commits

renovate[bot]

122 commits

Muscraft

13 commits

figsoda

11 commits

Languages

Rust

100.0%