dotnet add package SnapshotTests --version 1.0.0
NuGet\Install-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
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.
|.NET||net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows|
|.NET Core||netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1|
|.NET Standard||netstandard2.0 netstandard2.1|
|.NET Framework||net461 net462 net463 net47 net471 net472 net48|
- 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.