SQLServerSnapshots 1.0.0

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.

Install-Package SQLServerSnapshots -Version 1.0.0
dotnet add package SQLServerSnapshots --version 1.0.0
<PackageReference Include="SQLServerSnapshots" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SQLServerSnapshots --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SQLServerSnapshots, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SQLServerSnapshots as a Cake Addin
#addin nuget:?package=SQLServerSnapshots&version=1.0.0

// Install SQLServerSnapshots as a Cake Tool
#tool nuget:?package=SQLServerSnapshots&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 148 10/18/2020
0.1.0-beta 135 10/16/2020