trycmd
Snapshot testing for a herd of CLI tests
1.2.1
6.0M downloads/mo
#4139 most downloaded on crates.io
assert-rs/snapbox
What this package is like to depend on
Last release 1 months ago
21 Jul 2026
Ships fairly regularly
a new release about every 2 months
Most releases are documented
notes for 65 of 75 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
75 releases · first in 2021
8 releases in the last 12 months
see the full history below
Release timeline
75 releases · Nov 2021 to Jul 2026Releases
latest 60 of 75-
1.2.121 Jul 2026 -
1.2.023 Mar 2026 -
1.1.112 Mar 2026Release notes
Open source →Fixes
- Normalize newlines in an attempt to fix windows support with the new
toml
- Normalize newlines in an attempt to fix windows support with the new
-
1.1.010 Mar 2026Release notes
Open source →Compatibility
- Change
cmd::cargo_binbad paths to panics
Features
- Add
cargo::cargo_bins - Add
cargo::cargo_bin_opt
- Change
-
1.0.210 Mar 2026 -
1.0.103 Mar 2026 -
1.0.011 Feb 2026Nothing published for this version
-
0.15.1117 Nov 2025 -
0.15.1010 Jul 2025 -
0.15.912 Feb 2025 -
0.15.829 Oct 2024 -
0.15.727 Aug 2024 -
0.15.625 Jul 2024Nothing published for this version
-
0.15.523 Jul 2024Nothing published for this version
-
0.15.424 May 2024Nothing published for this version
-
0.15.323 May 2024Nothing published for this version
-
0.15.215 May 2024Nothing published for this version
-
0.15.104 Apr 2024 -
0.15.014 Feb 2024Release notes
Open source →Breaking Change
TestCases::insert_var/TestCases::extend_varno longer overwrite but extend the vr
Features
- Allow inserting multiple values for the same variable, to handle multiple forms of the same value (like UNC paths vs regular paths)
- Add
TestCases::clear_var
-
0.14.2108 Feb 2024 -
0.14.2012 Jan 2024 -
0.14.1902 Oct 2023 -
0.14.1828 Sep 2023 -
0.14.1724 Aug 2023Release notes
Open source →Compatibility
- MSRV bumped to 1.70.0
Performance
- Improved build-times by dropping the
is-terminaldependency
-
0.14.1613 Apr 2023 -
0.14.1516 Mar 2023 -
0.14.1415 Mar 2023 -
0.14.1301 Mar 2023 -
0.14.1219 Feb 2023 -
0.14.1131 Jan 2023 -
0.14.1007 Jan 2023 -
0.14.906 Jan 2023 -
0.14.805 Jan 2023 -
0.14.704 Jan 2023 -
0.14.623 Dec 2022 -
0.14.524 Nov 2022Nothing published for this version
-
0.14.410 Nov 2022 -
0.14.304 Nov 2022Release notes
Open source →Fixes
- Ignore, rather than error, on unknown bins again. This is important for examples that are conditioned on features.
-
0.14.204 Nov 2022 -
0.14.121 Oct 2022Nothing published for this version
-
0.14.006 Oct 2022Release notes
Open source →Breaking Change
- Unknown bins now fail, rather than being ignored. This can be worked around by either ignoring the code block, setting the status to skipped, or ignoring the specific bin in question
-
0.13.723 Sep 2022Nothing published for this version
-
0.13.615 Aug 2022Release notes
Open source →Fixes
- Don't hang when merging stderr with stdout on large output, like with markdown (#121)
-
0.13.501 Aug 2022Release notes
Open source →Fixes
- Make diffs viewable with large output by eliding large sections of unchanged content
-
0.13.402 May 2022 -
0.13.321 Mar 2022 -
0.13.208 Mar 2022 -
0.13.107 Mar 2022 -
0.13.007 Mar 2022Release notes
Open source →Breaking Changes
None known, just a significant internal release
Features
- Diffs now show full context, with highlighting of changes within lines and a marker for no newline at end of file
-
0.12.227 Jan 2022 -
0.12.121 Jan 2022 -
0.12.014 Jan 2022Release notes
Open source →Breaking Change
- Normalize
\\to/to help with paths on Windows
Fixes
- Normalize
\\to/to help with paths on Windows
- Normalize
-
0.11.114 Jan 2022Release notes
Open source →Fixes
Substitutions
- Ensure
[CWD]captures/privateon macOS when sandboxing
- Ensure
-
0.11.014 Jan 2022Release notes
Open source →Breaking Change
- Any of the below fixes could break
Fixes
Substitutions
- Ensure consistent choice between
[ROOT]and[CWD]when they are the same - Prefer
[CWD]to[ROOT]without sandbox - Consistently exclude trailing
/with[CWD]/[ROOT] - Improve sandbox-unsupported error
-
0.10.013 Jan 2022Release notes
Open source →Breaking Change
Config
- Re-defined
fs.baseroot to the.toml's directory, likefs.cwd
Fixes
Config
- Support
.indirectories that were symlinks on Linux but Windows checked out as files. - Re-defined
fs.baseroot to the.toml's directory, likefs.cwd
- Re-defined
-
0.9.111 Jan 2022Nothing published for this version
-
0.9.005 Jan 2022Release notes
Open source →Breaking Change
md:bashandshinfo strings are now ignored, switch toconsolemd: A blank line is needed after each command's output
Fixes
- Use more appropriate
consoleinfo string formd - Allow testing commands without trailing newline in
mdfiles
-
0.8.316 Dec 2021 -
0.8.230 Nov 2021Release notes
Open source →Fixes
- Only skip after a failure when they share mutable state (the file system).
-
0.8.123 Nov 2021