API Reference DeltaCheck v0.1.1

modules

Modules

Main API for DeltaCheck, a testing toolkit for making assertions on database writes.

A snapshot strategy is a function, snapshot/2, that takes an Ecto repo and a list of Ecto schemas, and returns a snapshot of the database in the expected format.

The default snapshot strategy for DeltaCheck. This produces the snapshot by running Ecto.Repo.all for all provided schemas.