Nullean.Snapshots.Cli.linux-x64
0.18.0
dotnet add package Nullean.Snapshots.Cli.linux-x64 --version 0.18.0
NuGet\Install-Package Nullean.Snapshots.Cli.linux-x64 -Version 0.18.0
<PackageReference Include="Nullean.Snapshots.Cli.linux-x64" Version="0.18.0" />
<PackageVersion Include="Nullean.Snapshots.Cli.linux-x64" Version="0.18.0" />
<PackageReference Include="Nullean.Snapshots.Cli.linux-x64" />
paket add Nullean.Snapshots.Cli.linux-x64 --version 0.18.0
#r "nuget: Nullean.Snapshots.Cli.linux-x64, 0.18.0"
#:package Nullean.Snapshots.Cli.linux-x64@0.18.0
#addin nuget:?package=Nullean.Snapshots.Cli.linux-x64&version=0.18.0
#tool nuget:?package=Nullean.Snapshots.Cli.linux-x64&version=0.18.0
Nullean.Snapshots.Cli

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.
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
- Documentation: https://snapshots.nullean.net
- The snap CLI: https://snapshots.nullean.net/workflow/snap/
- Expected differences: https://snapshots.nullean.net/workflow/expected-differences/
- Source and issues: https://github.com/nullean/snapshots
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.18.0 | 639 | 11/17/2026 |
| 0.17.0 | 95 | 11/17/2026 |
| 0.16.0 | 105 | 11/16/2026 |
| 0.15.0 | 167 | 11/16/2026 |
| 0.14.0 | 152 | 11/15/2026 |
| 0.13.0 | 94 | 11/14/2026 |
| 0.12.2 | 101 | 11/14/2026 |
| 0.12.1 | 84 | 11/12/2026 |
| 0.12.0 | 141 | 11/12/2026 |
| 0.11.0 | 305 | 11/11/2026 |
| 0.10.1 | 142 | 11/11/2026 |
| 0.10.0 | 126 | 11/11/2026 |
| 0.9.0 | 86 | 11/11/2026 |
| 0.8.1 | 184 | 11/11/2026 |
| 0.8.0 | 182 | 11/11/2026 |
| 0.7.0 | 100 | 11/10/2026 |
| 0.6.0 | 232 | 11/5/2026 |
| 0.5.0 | 97 | 11/5/2026 |
| 0.4.0 | 502 | 11/5/2026 |
| 0.3.0 | 100 | 11/4/2026 |