Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: KurtWeston/assert-snapshot

assert-snapshot v1.0.0

11 Feb 19:26
@KurtWeston KurtWeston

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

Assets 2
Loading

AltStyle によって変換されたページ (->オリジナル) /