snapbox

Crates.iosnapbox
lib.rssnapbox
version0.6.12
sourcesrc
created_at2022-03-07 19:09:19.855539
updated_at2024-07-12 21:03:57.423133
descriptionSnapshot testing toolbox
homepagehttps://github.com/assert-rs/trycmd/tree/main/crates/snapbox
repositoryhttps://github.com/assert-rs/trycmd/
max_upload_size
id545147
size277,028
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