Skip to content

Releases: KurtWeston/assert-snapshot

assert-snapshot v1.0.0

11 Feb 19:26

Choose a tag to compare

🎉 Initial Release - Professional Snapshot Testing for Python

We're excited to announce the first stable release of assert-snapshot, a powerful yet simple snapshot testing tool designed to make regression testing effortless for command-line applications and executables.

✨ Key Features

  • 📸 Capture Any Output - Record stdout and stderr from any command or executable
  • 📁 Smart Storage - Organized .snapshots/ directory with human-readable filenames
  • 🎨 Beautiful Diffs - Colored unified diff output highlighting additions and deletions
  • 🔄 Interactive Updates - Review and accept/reject snapshot changes with ease
  • 🏷️ Named Snapshots - Test multiple outputs per command with descriptive names
  • ✅ CI-Friendly - Non-zero exit codes when snapshots don't match
  • 🧹 Clean Comparisons - Optional ANSI color code stripping for consistent diffs
  • ⏱️ Timeout Support - Prevent hanging on long-running commands
  • 🔍 Glob Patterns - Bulk update multiple snapshots with pattern matching
  • 🚀 Zero Config - Automatic snapshot directory creation and management

📦 Installation