Skip to main content
Any Framework

List, diff, accept and reject pending snapshots from Nullean.Snapshots, and run browser journeys and .http files.

Published
Nov 17, 2026
6d ago
Total Downloads
3.9K
3,902

Install

dotnet add package Nullean.Snapshots.Cli.linux-x64 --version 0.17.0

No framework information available.

README

Nullean.Snapshots.Cli

snapshots.

snap, the native AOT command line tool for Nullean.Snapshots: review, diff, accept and reject pending snapshots, find orphaned ones, and run browser journeys and .http files without a test run.

NuGet

Install

dotnet tool install --global Nullean.Snapshots.Cli

Quick start

snap                               # walk through what changed: accept, reject or skip each snapshot
snap status --json                 # pending snapshots; exits 1 when there are any
snap diff CatalogTests/Renders     # full key, unique suffix, or glob
snap accept CatalogTests/Renders   # only after reading the diff
snap reject --all                  # delete received files, keep verified
snap orphans                       # verified files the last test run did not use; a partial run is skipped

Without installing it: dnx Nullean.Snapshots.Cli accept CatalogTests/Renders.

Journeys, .http files and two sites

snap journey run 'tests/Shop.Tests/journeys/**/*.journey' --base-url http://localhost:5000/
snap http run 'tests/Shop.Tests/http/**/*.http' --env dev --var host=http://localhost:5000
snap journey compare 'journeys/**/*.journey' --baseline https://prod.example.com/ --target https://preview.example.com/
snap http compare 'http/**/*.http' --baseline https://api.example.com --target https://api-preview.example.com

compare fails only on differences no rule in the checked-in {file}.differences expects; --record appends the rules that would explain a failure instead.

Accepting an inline snapshot edits the string literal in the test's .cs file, so read git diff of the test files as well as the verified ones.

Learn more

Changes from Previous Version

No structural changes between v0.16.0 and v0.17.0.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

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.