snapbox

Crates.iosnapbox
lib.rssnapbox
version0.6.7
sourcesrc
created_at2022-03-07 19:09:19.855539
updated_at2024-05-29 20:14:51.884655
descriptionSnapshot testing toolbox
homepagehttps://github.com/assert-rs/trycmd/tree/main/crates/snapbox
repositoryhttps://github.com/assert-rs/trycmd/
max_upload_size
id545147
size273,037
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: 1073

cargo fmt