Module schemer::testing

source ·
Expand description

Test harness for applying a generic test suite to any backend-specific schemer adapter.

Structs

A trivial struct implementing Migration on which adapters can build their mock migrations.

Traits

A trait required for running the generic test suite on an Adapter.

Functions

Test application and reversion on a branching DAG.
Test the partial application and reversion of a chain of three dependent migrations.
Test that application and reversion of two DAG components are independent.
Test the application and reversion of a singleton migration.