Skip to content

Snapshot testing for a herd of CLI tests

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

assert-rs/snapbox

Folders and files

NameName
Last commit message
Last commit date
Feb 20, 2025
Feb 12, 2025
Nov 14, 2022
Apr 26, 2024
Jul 20, 2022
Oct 26, 2023
Feb 3, 2025
Apr 1, 2025
Feb 3, 2025
Nov 4, 2021
Mar 29, 2023
May 15, 2024
Dec 1, 2022
Dec 16, 2024
Oct 21, 2022

Repository files navigation

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.