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" />
paket add SQLServerSnapshots --version 1.0.0
#r "nuget: SQLServerSnapshots, 1.0.0"
// 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
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.