snapbox

Crates.iosnapbox
lib.rssnapbox
version0.6.20
sourcesrc
created_at2022-03-07 19:09:19.855539
updated_at2024-11-07 02:14:27.008705
descriptionSnapshot testing toolbox
homepagehttps://github.com/assert-rs/trycmd/tree/main/crates/snapbox
repositoryhttps://github.com/assert-rs/snapbox/
max_upload_size
id545147
size282,433
Maintainers (github:rust-cli:maintainers)

documentation

http://docs.rs/snapbox/

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.

Commit count: 1176

cargo fmt