PackageTrack
Sign in Get early access

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 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 75
  1. 1.2.1 21 Jul 2026
    Release notes

    chore: Release trycmd version 1.2.1

    Open source →
  2. 1.2.0 23 Mar 2026
    Release notes

    chore: Release trycmd version 1.2.0

    Open source →
    Release notes

    Compatibility

    • Update MSRV to 1.85
    Open source →
  3. 1.1.1 12 Mar 2026
    Release notes

    chore: Release trycmd version 1.1.1

    Open source →
    Release notes

    Fixes

    • Normalize newlines in an attempt to fix windows support with the new toml
    Open source →
  4. 1.1.0 10 Mar 2026
    Release notes

    chore: Release trycmd version 1.1.0

    Open source →
    Release notes

    Compatibility

    • Change cmd::cargo_bin bad paths to panics

    Features

    • Add cargo::cargo_bins
    • Add cargo::cargo_bin_opt
    Open source →
  5. 1.0.2 10 Mar 2026
    Release notes

    chore: Release trycmd version 1.0.2

    Open source →
    Release notes

    Fixes

    • Un-deprecate cargo_bin
    Open source →
  6. 1.0.1 03 Mar 2026
    Release notes

    Internal

    • Update dependencies
    Open source →
  7. 1.0.0 11 Feb 2026

    Nothing published for this version

  8. 0.15.11 17 Nov 2025
    Release notes

    Fixes

    • Ignore test.out/ validation when all steps are skipped
    Open source →
  9. 0.15.10 10 Jul 2025
    Release notes

    Compatibility

    • Bump MSRV to 1.66

    Internal

    • Update dependencies
    Open source →
  10. 0.15.9 12 Feb 2025
    Release notes

    Features

    • Report test duration
    Open source →
  11. 0.15.8 29 Oct 2024
    Release notes

    Fixes

    • Pull in escargot fix
    Open source →
  12. 0.15.7 27 Aug 2024
    Release notes

    Fixes

    • Strip colors on TERM=dumb
    Open source →
  13. 0.15.6 25 Jul 2024

    Nothing published for this version

  14. 0.15.5 23 Jul 2024

    Nothing published for this version

  15. 0.15.4 24 May 2024

    Nothing published for this version

  16. 0.15.3 23 May 2024

    Nothing published for this version

  17. 0.15.2 15 May 2024

    Nothing published for this version

  18. 0.15.1 04 Apr 2024
    Release notes

    Fixes

    • Overwrite of .stdout/.stderr files works again
    Open source →
  19. 0.15.0 14 Feb 2024
    Release notes

    Breaking Change

    • TestCases::insert_var / TestCases::extend_var no 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
    Open source →
  20. 0.14.21 08 Feb 2024
    Release notes

    Internal

    • Update toml_edit
    Open source →
  21. 0.14.20 12 Jan 2024
    Release notes

    Internal

    • Update dependency
    Open source →
  22. 0.14.19 02 Oct 2023
    Release notes

    Fixes

    • Match standard diff colors
    Open source →
  23. 0.14.18 28 Sep 2023
    Release notes

    Internal

    • Update anstream
    Open source →
  24. 0.14.17 24 Aug 2023
    Release notes

    Compatibility

    • MSRV bumped to 1.70.0

    Performance

    • Improved build-times by dropping the is-terminal dependency
    Open source →
  25. 0.14.16 13 Apr 2023
    Release notes

    Internal

    • Dependency update
    Open source →
  26. 0.14.15 16 Mar 2023
    Release notes

    Internal

    • Dependency update
    Open source →
  27. 0.14.14 15 Mar 2023
    Release notes

    Compatibility

    • Update MSRV to 1.64.0
    Open source →
  28. 0.14.13 01 Mar 2023
    Release notes

    Internal

    • Update dependencies
    Open source →
  29. 0.14.12 19 Feb 2023
    Release notes

    Internal

    • Update dependencies
    Open source →
  30. 0.14.11 31 Jan 2023
    Release notes

    Internal

    • Update dependencies
    Open source →
  31. 0.14.10 07 Jan 2023
    Release notes

    Fixes

    • Ensure TRYCMD=overwrite errors get reported to the user
    Open source →
  32. 0.14.9 06 Jan 2023
    Release notes

    Fixes

    • Overwrite command status with TRYCMD=overwrite
    Open source →
  33. 0.14.8 05 Jan 2023
    Release notes

    Fixes

    • Do not fail when using TRYCMD=overwrite
    Open source →
  34. 0.14.7 04 Jan 2023
    Release notes

    Fixes

    • Allow empty code fences
    • TOML parsing is now more conformant
    Open source →
  35. 0.14.6 23 Dec 2022
    Release notes

    Fixes

    • Improved build times
    Open source →
  36. 0.14.5 24 Nov 2022

    Nothing published for this version

  37. 0.14.4 10 Nov 2022
    Release notes

    Fixes

    • Automatically ignore tests under miri (already doesn't work)
    Open source →
  38. 0.14.3 04 Nov 2022
    Release notes

    Fixes

    • Ignore, rather than error, on unknown bins again. This is important for examples that are conditioned on features.
    Open source →
  39. 0.14.2 04 Nov 2022
    Release notes

    Fixes

    • Report signal that terminated a command
    Open source →
  40. 0.14.1 21 Oct 2022

    Nothing published for this version

  41. 0.14.0 06 Oct 2022
    Release notes

    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
    Open source →
  42. 0.13.7 23 Sep 2022

    Nothing published for this version

  43. 0.13.6 15 Aug 2022
    Release notes

    Fixes

    • Don't hang when merging stderr with stdout on large output, like with markdown (#121)
    Open source →
  44. 0.13.5 01 Aug 2022
    Release notes

    Fixes

    • Make diffs viewable with large output by eliding large sections of unchanged content
    Open source →
  45. 0.13.4 02 May 2022
    Release notes

    Fixes

    • Allow 3+ backtick code fences to escape code fences in stdout
    Open source →
  46. 0.13.3 21 Mar 2022
    Release notes

    Documentation

    • Link to examples from docs.rs
    Open source →
  47. 0.13.2 08 Mar 2022
    Release notes

    Fixes

    • Have standard gutter divider in Diffs
    Open source →
  48. 0.13.1 07 Mar 2022
    Release notes

    Fixes

    • Don't swap actual/expected with file diffs
    Open source →
  49. 0.13.0 07 Mar 2022
    Release notes

    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
    Open source →
  50. 0.12.2 27 Jan 2022
    Release notes

    Fixes

    • Auto-detect binary files and don't diff them
    Open source →
  51. 0.12.1 21 Jan 2022
    Release notes

    Features

    • Allow stdin, stdout, and stderr in toml file
    Open source →
  52. 0.12.0 14 Jan 2022
    Release notes

    Breaking Change

    • Normalize \\ to / to help with paths on Windows

    Fixes

    • Normalize \\ to / to help with paths on Windows
    Open source →
  53. 0.11.1 14 Jan 2022
    Release notes

    Fixes

    Substitutions

    • Ensure [CWD] captures /private on macOS when sandboxing
    Open source →
  54. 0.11.0 14 Jan 2022
    Release notes

    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
    Open source →
  55. 0.10.0 13 Jan 2022
    Release notes

    Breaking Change

    Config

    • Re-defined fs.base root to the .toml's directory, like fs.cwd

    Fixes

    Config

    • Support .in directories that were symlinks on Linux but Windows checked out as files.
    • Re-defined fs.base root to the .toml's directory, like fs.cwd
    Open source →
  56. 0.9.1 11 Jan 2022

    Nothing published for this version

  57. 0.9.0 05 Jan 2022
    Release notes

    Breaking Change

    • md: bash and sh info strings are now ignored, switch to console
    • md: A blank line is needed after each command's output

    Fixes

    • Use more appropriate console info string for md
    • Allow testing commands without trailing newline in md files
    Open source →
  58. 0.8.3 16 Dec 2021
    Release notes

    Fixes

    • Dependencies requirements reflect minimum versions needed
    Open source →
  59. 0.8.2 30 Nov 2021
    Release notes

    Fixes

    • Only skip after a failure when they share mutable state (the file system).
    Open source →
  60. 0.8.1 23 Nov 2021
    Release notes

    Fixes

    • Fix variable substitutions
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive