SnapshotTests is a library that supports TDD by allowing snapshots to be taken of datasets before and after a test operation. The differences between the snapshots can be computed and formatted for approval.
The library relies on TestConsole for formatting and the approval mechanism.
Install-Package SnapshotTests -Version 1.0.0
dotnet add package SnapshotTests --version 1.0.0
<PackageReference Include="SnapshotTests" Version="1.0.0" />
paket add SnapshotTests --version 1.0.0
#r "nuget: SnapshotTests, 1.0.0"
// Install SnapshotTests as a Cake Addin #addin nuget:?package=SnapshotTests&version=1.0.0 // Install SnapshotTests as a Cake Tool #tool nuget:?package=SnapshotTests&version=1.0.0
- TestConsole (>= 2.5.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SnapshotTests:
A library for unit testing against SQLServer to compare data before and after running a test. Point the library at a database instance and it will configure itself from the database schema. You can then request a snapshot of the data prior to running your test code, and take a second snapshot after the code has completed. The two snapshots can then be compared and a report will be generated showing the changes. Unpredictable values (such as IDENTITY keys or timestamps) in the difference report will be replaced by placeholders so that the test results will be consistent each time the test is run.
This package is not used by any popular GitHub repositories.