Module testing

Source
Expand description

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

Structs§

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

Traits§

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

Functions§

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