Skip to main content
Any Framework

CLI tool to approve Meziantou.Framework.SnapshotTesting snapshots

Published
Jun 13, 2026
4mo ago
Total Downloads
2.5K
2,472

Install

dotnet add package Meziantou.Framework.SnapshotTesting.Tool --version 1.0.3

No framework information available.

README

Meziantou.Framework.SnapshotTesting.Tool

Meziantou.Framework.SnapshotTesting.Tool approves snapshots created by Meziantou.Framework.SnapshotTesting by renaming *.actual.* files to *.verified.*.

Install

dotnet tool install --global Meziantou.Framework.SnapshotTesting.Tool

Example

Meziantou.Framework.SnapshotTesting.Tool approve
Meziantou.Framework.SnapshotTesting.Tool approve --interactive

Help

Description:
  Approve snapshots generated by Meziantou.Framework.SnapshotTesting.

Usage:
  Meziantou.Framework.SnapshotTesting.Tool [command] [options]

Options:
  -?, -h, --help  Show help and usage information
  --version       Show version information

Commands:
  approve  Approve snapshots by renaming *.actual.* files to *.verified.*

approve

Description:
  Approve snapshots by renaming *.actual.* files to *.verified.*

Usage:
  Meziantou.Framework.SnapshotTesting.Tool approve [options]

Options:
  --interactive      Prompt for each snapshot to approve or reject
  --folder <folder>  Folder to process. Uses current directory when not set.
  --recurse          Allow recursive search for __snapshots__ folders
  -?, -h, --help     Show help and usage information

Changes from Previous Version

No structural changes between v1.0.2 and v1.0.3.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.