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.
Get Started
$ dotnet add package SQLServerSnapshotsReadme
No README available.