Skip to content

A dotnet tool for managing Verify snapshots.

License

Notifications You must be signed in to change notification settings

VerifyTests/Verify.Terminal

Repository files navigation

Verify.Terminal

A dotnet tool for managing Verify snapshots.
Inspired by the awesome Insta crate.

A screenshot of Verify.Terminal

Installation

Install by running the following command:

dotnet tool install -g verify.tool

Review pending snapshots

USAGE:
    verify review [OPTIONS]

OPTIONS:
    -h, --help                    Prints help information
    -w, --work <DIRECTORY>        The working directory to use
    -c, --context <LINE-COUNT>    The number of context lines to show. Defaults to 2
> dotnet verify review

Accept all pending snapshots

USAGE:
    verify accept [OPTIONS]

OPTIONS:
    -h, --help                Prints help information
    -w, --work <DIRECTORY>    The working directory to use
    -y, --yes                 Confirm all prompts.
> dotnet verify accept

Reject all pending snapshots

USAGE:
    verify reject [OPTIONS]

OPTIONS:
    -h, --help                Prints help information
    -w, --work <DIRECTORY>    The working directory to use
    -y, --yes                 Confirm all prompts.
> dotnet verify reject

Building

We're using Cake as a dotnet tool for building. So make sure that you've restored Cake by running the following in the repository root:

> dotnet tool restore

After that, running the build is as easy as writing:

> dotnet cake

About

A dotnet tool for managing Verify snapshots.

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Languages