pub trait TestAdapter: Adapter {
    fn mock(id: Uuid, dependencies: HashSet<Uuid>) -> Box<Self::MigrationType>;
}
Expand description

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

Required Methods

Construct a mock, no-op migration of the adapter’s MigrationType.

For convenience adapters can implement their migration traits on TestMigration and construct those here.

Implementors